IntelliJ IDEA Macbook Shortcuts Discovery

Naman Gupta
2 min readNov 18, 2022

This article has all the simple but very undiscovered shortcuts that IntelliJ Idea has to offer, which can take your productivity to the next level.

To be honest, I feel some of these are not just good for your productivity but also for your wrist, as they will help you throw away your mouse quickly and hopefully save you from bad carpal tunnel.

2 ways to accept IntelliSense suggestions ( ↹ and )

Whenever you get a suggestion from IntelliSense in IntelliJ and you press Enter⏎ it just pastes the item there. This can be frustrating when you are trying to just complete something. That’s where you can use Tab ↹.

For example, when you have to finish what you’ve written and not replace the next word you press Enter⏎.

Press Enter to finish the current word

Whereas, when you have to replace the next word you press Tab.

Press Tab to replace the next word with the suggestion

Select Opened File in Project Tab (+fn+F1, 1)

It’s a big hassle when you have to use move from your keyboard to mouse when you have to work with Project Tab while working with the code. This shortcut is a literal wrist-saver. Just use this shortcut, and you can change the focus to the Project tab. Actually, you can change focus to many other menus that may be useful to your workflow.

Pressing ⌥+fn+F1 will bring up the following value. Pressing 1 will highlight the current file in the Project Tab.

Context menu on pressing ⌥+fn+F1

This is a running series, and I’ll keep posting new articles whenever I find anything new and interesting. Keep following for more such content.

--

--

Naman Gupta

SDE-2 at Navi Technologies, Web Developer and Self-Driving Cars Enthusiast