Execute a shell command from within Intellij Idea via shortcut.

Answered

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. 

2 comments
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.

1
Comment actions Permalink

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

0

Please sign in to leave a comment.