The External Tools feature allows you to:
- add custom menu items to run external programs, scripts, .bat files, etc.
- parametrize custom commands with a rich set of macros, such as path to the currently opened file in the editor, project classpath, project output path, etc.
- assign custom shortcuts to the most frequently used external tools
It is under: IDE settings -> external tool
This page shows the detail of the options.