I would like to use
idea pom.xml
from command line to launch a simple Maven project, and so I think I need to configure using "Create Command-line Launcher" the script path, but I cannot find it in Intellij Ultimate, if I search it in File / Settings I can find it, but then if I add a keyboard shortcut it doesn't work.
Could someone help me?
Thank you
From the main menu, select View | Tool Windows | Terminal or press Alt+F12 .
Open IntelliJ IDEA, go to Tools->Create Command-Line Launcher... and optionally adjust the location and name of the script that will start IntelliJ IDEA. Voilà! Now from your command line, you can type: idea . to open the project in the current directory.
Add program argumentsFrom the main menu, select Run | Edit Configurations or choose Edit Configurations from the run/debug configurations selector on the toolbar. In the Run/Debug Configurations dialog that opens, select a configuration where you want to pass the arguments.
How It Works. Download and install the JetBrains Toolbox App. Open the app from the control panel. Install any tool you'd like and code with pleasure!
For Mac OS with +2019 Intellij:
As I said in the comments of the question.
At least when using Idea Community 2019.1 EAP + Jetbrains Toolbox, even in Linux that option is disabled.
You must access the Jetbrains Toolbox->settings (the gear next to the 'Log in' button), there will be a "Generate shell scripts" option and location to set. Set a location that you can access without sudo, and put that location on your PATH or copy the generated script to a path like /usr/local/bin.
I needed that to be able to use kscript --idea xxxx.kts (putting this here so that the next person googling that finds the answer :) )
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With