In the Actions section, click the “Utilities” sub-section, then drag “Run Shell Script” over to your workflow. We’re going to create a new Service for your Mac. To get started we’re going to launch Automator, which you’ll find in your Applications folder. The below shortcuts are grouped into various sections: Editing Shortcuts, Compile and Run Shortcuts, Debugging shortcuts, Navigation Shortcuts, Find and Replace Shortcuts. The below list of IntelliJ shortcuts for Windows and Mac users will help the developers. If you’d rather not use a third party application to trigger Terminal commands, there’s another method, which works because macOS lets you set custom keyboard shortcuts for everything. List of Intellij Shortcuts for Windows & Mac.
The (Slightly) Harder, But Built-In Way: Automator You can also set the application to run when you start up your computer. The icon menu bar icon can be disabled, allowing you to run this application in the background. Note that you can configure a few more things, if you like. For our example, we’re going to use date '+The time is %H:%M' | say which makes our Mac say the current time out loud.Ĭlick the green checkmark at bottom-right, and your done! Your keyboard shortcut will now run your command at will.
Next, click the second field and enter whatever command you’d like to trigger. This will bring up a two fields: one for the keyboard shortcut, another for the command you’d like to trigger.Ĭlick the first field, then hit whatever keyboard shortcut you’d like to use. To change this, click the green arrow at bottom-right. Looks like we don’t have any shortcuts defined right now.