Comment out a line or block of code. This cheat sheet is also available under Help Keymap Reference. Make sure that it matches the OS you are using or select the one that matches shortcuts from another IDE or editor you are used to for example, Eclipse or NetBeans. Tune your keymap You can modify a copy of any predefined keymap to assign your own shortcuts for commands that you use frequently. Import custom keymap If you have a customized keymap that you are used to, you can transfer it to your installation. Learn shortcuts as you work IntelliJ IDEA provides several possibilities to learn shortcuts: Find Action is the most important command that enables you to search for commands and settings across all menus and tools.
|Published (Last):||16 November 2013|
|PDF File Size:||20.83 Mb|
|ePub File Size:||1.85 Mb|
|Price:||Free* [*Free Regsitration Required]|
Front End Development When we need to get productive, we often invest money in new gadgets, software, or even a new computer. In I spent quite some time giving other IDEs a chance. All impressed me with their own unique features. Weeks, or even months later, I came back to IDEA, realizing that it has virtually all features found elsewhere, and it felt a bit more robust.
Visiting other options opened my eyes for new features to look for. Features that could easily boost my productivity in a piece of software I spend so much time with. Even cooler, the editor will know how to uncomment lines, even when commented out manually. Refer to the figure below for comparison.
Voila, IDEA will automagically create a documentation block for you. Read more about it here on his blog post. Please use line comments and documentation blocks as much as possible. They will help you more than you can imagine, others even more. You know how deletions are frequently followed by a confirmation dialog? Most of us have trained our eyes to find a short little word that begins with an Y — Yes.
Yes, delete the sucker! It is even capable of learning from your documentation blocks. When you need to select a word, reference, statement, line, or entire block of code without lifting your hands from keyboard, this shortcut comes to the rescue.
Press it once to select the word closes to the caret. Repeat to incrementally select larger chunks. Walk through the tabs offered and set the style that best match your desired behavior. Once completed, go to your code.
It can be a selection, file, or even entire project. In some situations, you may need to omit parts of code e. In such case, selecting a code area and hitting the shortcut will automatically offer to reformat selection. So hit shortcut and press enter for a quick and smart code reformat. In such situations, I find this shortcut very useful. It goes like that long ways through history, and even switches open files for you.
IDEA tracks your last five copies and allows you to chose from them when pasting. Basically, it shows a popup with all objects and respective members associated with a file. Moreover, if you start typing, it will perform a search and select the line you were looking for. Amazingly useful in big files. As an added bonus, press the shortcut twice to show the inherited members.
Now you can retry in IDEA. In many workspaces, you might also want to close the project browser window in order to save some horizontal space. Getting to see the most recently edited files is a speed boost that will help any developer working in a similar environment.
Guess what — it even works after you restart the editor! Note on automatic tab management: IDEA will auto close tabs to keep the workspace tidy. Feel free to keep this blog post bookmarked and use it as a cheat sheet when working. Note that these will work on any new installation of IDEA 11 and up. If you modified keyboard shortcuts to your own needs, than some combination might result in unexpected behavior. Do you have your own life-saving shortcuts that are not mentioned?
Are there shortcuts you would love to have but are missing? Please share your thoughts in the comments section.
IntelliJ Keyboard Shortcuts - Navigation Shortcuts
Make sure that it matches the OS you are using or select the one that matches shortcuts from another IDE or editor you are used to for example, Eclipse or NetBeans. You cannot customize predefined keymaps. Click to duplicate the selected keymap, rename, remove, or restore it to default values. A custom keymap is not a full copy of its parent keymap. It inherits unmodified shortcuts from the parent keymap and defines only those that were changed. For information about the keymap files, see Location of user-defined keymaps. The keymap itself is a list of actions with corresponding keyboard and mouse shortcuts, and abbreviations.
Keyboard Shortcuts: Default (IntelliJ IDEA) Keymap
100+ IntelliJ Shortcuts for Windows – IntelliJ Shortcuts PDF