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. 

0
2 comments

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
Avatar
Permanently deleted user

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

0

Please sign in to leave a comment.