Execute a shell command from within Intellij Idea via shortcut.


Can I define a keyboard shortcut inside Intellij Idea to run a shell command?

I need to execute this command in order to build the application:

$ node make.js

If I could run it from within IntelliJ Idea using F12 or something, that would be great. 

Comment actions Permalink

Yes, you can, see https://www.jetbrains.com/help/idea/2016.1/external-tools.html. Once the tool is created, you can assign a keyboard shortcut via Keymap settings.

Comment actions Permalink

This Tool makes my life a lot easier. Thanks for the info!


Please sign in to leave a comment.