I had been a happy Eclipse user for years until I hit major performance issues with Scala. That made me do the switch to IntelliJ IDEA that everybody was suggesting.
- Install Key Promoter X. It shows a popup when you use the mouse for an action that can be replacecd with a keyboard shortcut.
- Watch 42 IntelliJ IDEA tips and tricks in 45 minutes.
- Read IntelliJ IDEA Pro Tips.
- Specific topics:
- Learn Emmet syntax for HTML and CSS. IntelliJ has right-out-of-the-box support.
Cmd + shift + a: action search (meta shortcut, Eclipse “magic shortcut”).
Alt + up: “smart” expand selection.
Alt + Home: jump to breadcrumbs (Navigation bar).
Alt + Ins: new.
I’m not a big fan of large customizations, because defauls are often good enough and it makes easier changing between computers. Anyway, there are still some customizations that I had to do:
- Enable vim mode. Integration is great, you keep amortizing your knowledge and you don’t forget it.
- Setup IDE Settings Sync plugin (to mitigate the switching concern).
- A shortcut for window splitting, I often work with 3 splits.
- I’t a shame that currently you can’t change splits size with keyboard. If you agree, upvote the feature request :).
- In CARTO (specially if you work around dataservices) you do a lot of database
work. I’m beginning to replace the good, old
psqlwith the database console at IntelliJ for some tasks. Having difference execution shortcuts there (
Cmd + Enterfor single statement,
Ctrl + Alt + Cmd + Enterfor everything from the caret) is really convenient if you’re not only running queries but also installing extensions and so on. Read about it.