

Thanks Anton Arhipov for suggesting this one! IntelliJ Keyboard Editing Shortcutsīesides navigation, we also want to be able to speed up our typing. If IntelliJ has an error or warning (you know, that small status icon in the top right part of the editor), pressing F2 will bring you to the next warning, and helps you keep that icon green!). Pressing Ctrl + G allows you to quickly navigate to the offending piece of code.
Intellij shortcuts code#
Handy when one of your colleagues asks what this piece of code is doing at line 45. Handy to get an idea of what the class is doing. Show the list of properties and methods in a popup. This shows all usages of the current method, class or variable in a popup dialog, allowing you to quickly navigate to the locations where this element is being used Also, when going to an implementation class and pressing Ctrl + Shift + T will automatically create a test class based on your choice of test-framework. When you’re slightly test-obsessed, navigating between the test and implementation is instant with this shortcut. Handy if you don’t want to find classes, but text or configuration files.
Intellij shortcuts full#
You don’t have to type the full class name, you can also type only the uppercase letters, or start with an asterisk (*) which will be interpreted as a wildcard. Instead of finding everything, if you know you’re looking for a class, press Ctrl + N and start typing. This includes files, actions, classes, basically, anything! However, pressing Ctrl + Alt + B doesn’t jump to the interface, but to the implementation of this interface, which is quite a time saver.įind anything in your project by quickly double tapping shift. When pressing Ctrl + B while on a method, it will jump to the declaration of this method, for example, the interface. While Ctrl + Tab lists the currently open files, Ctrl + E opens the list of recently used files.Ĭtrl + B – Go to declaration / implementation Releasing the shortcut will focus on the corresponding file. When holding the Ctrl button, it’s possible to step through the list of open files. To quickly switch between open files, press Ctrl + Tab. The IntelliJ keyboard shortcuts below are based on the default Windows settings, if you’re using a different keymap, please have a look at the keymap reference (Help -> Keymap Reference) for the appropriate shortcut. The groups are split into editing and navigation (both the IDE as well as the code), to make the use of IntelliJ easier. I’ve split the keyboard shortcut into a few separate groups.
Intellij shortcuts software#
What I’ve done instead is to list only a few me and my colleagues use on a daily basis, and mastering these will make you a slightly more proficient software developer. While IntelliJ has almost a shortcut for everything, there’s no need to know them all to be a productive programmer. In this blogpost, I’ll focus on IntelliJ. So, while programming and to stay in the flow of coding, it might be worthwhile to know some keyboard shortcuts and to not be distracted by clicking on menu items. Being a software developer is no exception.
