![]() ![]() That’s just a small selection of shortcuts I found to be the most useful in my daily work.ĭon’t hesitate visiting Help > Productivity Guide - it will display you features and its corresponding shortcuts with a detailed explanation. Commenting/UncommentĮasily move a selection or line into a comment (or multiple ones if multi-carets are active). If your method is already in use, you can also propagate it the all places where it’s invoked by pressing ⌥ ⏎ and selecting Apply signature change after finishing your signature adaptions. If you caret is currently placed at a method signatures parameter, you can move it left or right by pressing ⌥ ⇧ ⌘ + ← or →. Showing documentationīy pressing F1 you’ll be shown the documentation of the method or class of your current caret position. You can delete the current line where you caret sits by pressing ⌘ ⌫ or move it up or down with ⌥ ⇧ + ↑ or ↓. By pressing ⌘ click (or ⌥ ⌘ F7 if your caret is on target), you’ll be either shown a list where your target is used or directly be taken there, if there’s only a single one.īy pressing ⌘ ⌥ on an interface, IntelliJ will show you the implementations of this method or class. At the opposite, in VisUML, a simple click on a. Show usages & jumping to implementationsĪ lot of times you want to know where you current function or class is used. This navigation action requires at least 8 clicks to switch from a class to any associated sequence diagram. Continue typing to find your desired file type. With ⌘ ⇧ n you’ll open the scratch menu for creating a new file with an extension of your choice. Many times there’s a need to create some file quickly for scribbles, reformatting something or just trying something out in a temporary manner. If you use this exact same pattern at several places, IntelliJ will ask you if you want to replace it also at the other occurrences. ⌥ ⌘ v (variable refactoring) - extract the current selection to a new variable. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |