2

Where can I actually launch an external tool in IntelliJ?

I know where to set up the external tool, and I've that done, but I cannot see where to launch it anywhere!

I don't see it from the Run menu, nor from any right-click menu.

DJ180
  • 18,724
  • 21
  • 66
  • 117

3 Answers3

7

You can run anything from the command line using the Command Line Tool Support plugin from JetBrains. See details here.

Vidya
  • 29,932
  • 7
  • 42
  • 70
6

On menu ToolsExternal Tools: enter image description here

Lars Hadidi
  • 558
  • 1
  • 5
  • 15
  • Worth noting that you first have to add the external tool via [settings > external tools] before it appers on the menu (or before the menu item even appears). https://www.jetbrains.com/help/idea/configuring-third-party-tools.html – Chris Buckett Oct 16 '21 at 21:30
2

In IntelliJ IDEA, in your run/test configurations (Run -> Edit Configurations) you have the choice of running an external tool 'before launch'. You can do this by opening up the run configuration menu, creating a new run configuration, and, down the bottom, adding a 'Run External Tool' option.

You can then add an external tool to be ran upon launch. You can run other programs or execute command line commands.

When you want to run the external tool, simply click the run button up the top of IntelliJ's main screen. If you want the external tool to run without the project compiling, simply remove the 'Make Project' and run project in the run configuration.

psgs
  • 93
  • 1
  • 9