I have worked with various text editors throughout my career. I started out using Macromedia Dreamweaver, then moved onto Sublime Text and had a brief fling with Atomic before moving to Visual Studio Code. At work however, I often need to work in a Java IDE. For the first few years this meant NetBeans, however, over the past year it has meant IntelliJ IDEA. As such, I currently need to switch between VS Code and IntelliJ regularly.
Additionally, I use both on Windows and Mac, so it makes for a somewhat confusing scenario when it comes to keyboard shortcuts and menu options. The context switching can be a little annoying. Especially if you have spent a few days in one, only to switch over to the other and find that you don't even know the basic shortcuts.
In an attempt to improve my workflows on these editors, here are some IntelliJ tips:
The Settings panel in IntelliJ plays a big part in your development experience on IntelliJ, as such, it helps to get familiar with it. Hit CMD + ,
to open the Settings panel.
Here you can do things such as:
Unfortunately, Simple React Snippets
from VS Code is not available on IntelliJ IDEA. I have seen that there are several React snippet plugins in addition to the built-in 'Live Templates'.
Here are some useful shorcuts:
Alt + Shift up/down
to move lines up or down.Double Shift
to search everywhere.Alt + Shift + F
to search in file path.CMD + F
to search within a file.Ctrl + CMD + G
to find all occurencesCtrl + V
to open the VCS/Git panelSomething I have noticed with IntelliJ is that, while it is a lot more integrated in so many ways. It is just that little bit slower than VS Code for most operations. This makes sense, but it is noticeable. For example, using Prettier on save with VS Code is practically instant. One IntelliJ it takes just that heartbeat longer. At first, I was not sure if it was working or not.
To be continued...