Community
Participate
Working Groups
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.)
Could be implemented using a launch variable that prompts the user for command line arguments.
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 ***