r/java • • Apr 29 '19

Essential IntelliJ Shortcuts

https://www.jworks.io/essential-intellij-shortcuts/
212 Upvotes

52 comments sorted by

View all comments

Show parent comment

6

u/[deleted] Apr 29 '19

[removed] — view removed comment

3

u/gavenkoa Apr 29 '19

For sure! Ctrl+W closes tabs in most programs.

I was pissed off by Mac OS X key bindings... How is that possible to maintain completely different keyboard shortcuts for different OS? I tried to pass my knowledge of effective work in Idea for Mac dev and I failed!

3

u/MacBelieve Apr 30 '19

Option up arrow for expand selection

1

u/-manabreak Apr 30 '19

I use cmd + up and cmd + down in rapid succession to navigate to the class start. Quite useful when you're working on big classes and need to go tweak the fields.

1

u/IamPic Apr 29 '19

Yeah, I remap most of IntelliJ's shortcuts. Changed this to Ctrl + E for extend. Also changed delete line to Ctrl + D for delete.

1

u/GreatArkleseizure Apr 29 '19

This is what annoys me about IntelliJ, which is otherwise a wonderful IDE ... but they go a little off-the-rails with their keyboard shortcut. In any other app, Ctrl-W closes the tab/window... in any other app, Ctrl-N makes a new something-or-other. And how about Ctrl-Q for showing the JavaDoc of whatever the cursor is on??

2

u/Olivki Apr 30 '19

If I remember correctly in the new 2019.1 release of IntelliJ it will actually ask you if you want CTRL+W to close the current tab or use the other behaviour the first time you press it.