Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 40311 - Allow on-screen prompt for command-line parameters
Summary: Allow on-screen prompt for command-line parameters
Status: RESOLVED DUPLICATE of bug 10035
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-17 06:36 EDT by Jon Skeet CLA
Modified: 2003-08-13 17:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Skeet CLA 2003-07-17 06:36:51 EDT
Every so often I write a very quick tool and then want to apply it to various
files, so of which may be in the workspace, and some of which may not be. It's
easy enough to write it in Eclipse, but then to run it with different
command-line parameters, I have to go into the run configuration manager each
time, which is a pain. I also need to remember quoting rules etc. What would be
much nicer would be to be able to tick a box in the run configuration manager
saying, "Prompt for command line parameters", which would mean that before
actually running the code, Eclipse would stick up a window to allow the user to
type in the command-line.

In its simplest form, this could be just the same "text area" type idea as usual
- but it could also be done as a table, where individual parameters could be
filled in separately, and quoted by Eclipse. Given that often parameters are
filenames, there could also be a "browse" button which would pop up a
file-chooser window, and on completion the filename would be filled in as the
parameter. (It should then still be editable by hand, eg for parameters like
/in:filename.)
Comment 1 Darin Wright CLA 2003-08-07 14:09:46 EDT
Could be implemented using a launch variable that prompts the user for command 
line arguments.
Comment 2 Jared Burns CLA 2003-08-13 17:52:09 EDT
The variable already exists, we just need to add support for variables to the 
Java config types.

*** This bug has been marked as a duplicate of 10035 ***