Position the text cursor on any identifier without selecting any text and it will show all places in the file where that variable, method etc. Select in Popup to quickly select the currently edited element (class, file, method or field) in any view (Project View, Structure View or other): Can look in comments, text files and across different languages too: If you want to format the code automatically you can install the atom-beautify package and then use the cmd-alt-l shortcut to format code in the active editor. This command sets your PATH variable for the current terminal window only. Rename refactoring to rename any identifier. Important: If youre installing on a Mac with the latest Apple M1 processor. Smart Type Completion to complete an expression with a method call or variable with a type suitable in the current Context: Quick JavaDoc Popup to show the JavaDoc of the method or class at the text cursor: Go to Class, to quickly open any class in the editor:Ĭomment/Uncomment current line or selection:
I've changed setup intellij on my Windows machine to use Mac OS shortcuts, but they don't work. I'd like to use the exactly same keys for shortcuts on both OS.
I'm currently working on intellij in Windows and Mac OSx at the same time. Since version 8, IDEA intelligently selects a likely expression when no text is selected: Same exact keys shortcut on both Windows and Mac. This expression may even be incomplete or contain errors. Since Im coding on both Windows and on MacOS, Im looking for an IntelliJ keymap that uses the same order of keys for all of its actions. Introduce Variable Refactoring, to create a variable from an expression. Use this to navigate to the declaration of a class, method or variable used somewhere in the code: For example, it may select a method name, then the expression that calls this method, then the whole statement, then the containing block, etc.:īasic Code Completion, to complete methods, keywords etc.: Syntax aware selection in the editor selects a word at the caret and then selects expanding areas of the source code. These are some of my most used keyboard short cuts