How do you input commandline argument in IntelliJ IDEA?

sungkwangsong picture sungkwangsong · Jan 14, 2010 · Viewed 250.9k times · Source

When I input commandline arguments, In Eclipse, using with run configuration. But I don't Know How do i input commandline arguments in IntelliJ IDEA.

Answer

Nowaker picture Nowaker · Jun 22, 2012

Windows, Linux, some Macs:

ALT+SHIFT+F10, Right, E, Enter, Tab, enter your command line parameters, Enter. ;-)

Mac with "OS X 10.5" key schema:

CTRL+ALT+R, Right, E, Enter, Tab, enter your command line parameters, Enter.