score:101

Accepted answer

add string_prompt as a program argument in the run configuration.

 ${string_prompt}

there are also a file_prompt and a folder_prompt if you want specifically files\folders.

these are available through the variables button on the (x)= arguments tab of the run configuration dialog.

score:19

in addition you can add a string to the prompt by using ${string_prompt:my prompt text} which will show the dialog box with 'please input a value for my prompt text'.

score:68

this is an old question, but since i really don't see this extra info anywhere else

you can also type ${string_prompt:my prompt text:default value}

and that will pop up a window asking 'please input a value for my prompt text' and then with a default value of 'default value'.


Related Query

More Query from same tag