-
-
Save viskri/1b84f7d22a5995390558 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source: Presentation of Hadi Hariri (https://www.parleys.com/tutorial/intellij-idea-tips-tricks) | |
Set Keymap in Preferences to: Mac OS 10.5+ | |
Recently opened Files --> ⌘E | |
Recently Edited Files --> ⇧⌘E | |
Hide views (e.g. Project) --> ⇧⎋ (⇧ escape-key) | |
In all Navigations, you can use Camel Case (e.g. FIS for FileInputStream) | |
Navigate - Class --> ⌘O | |
Navigate - File --> ⇧⌘O | |
In search result windows --> ClassName:40 brings you to line 40 | |
/foldername navigates to folders | |
patterns, as search terms, are possible | |
Navigate - Symbol --> ⌥⌘O | |
Navigate - File Structure --> ⌘F12 | |
Navigate between opened Files --> ⌥⌘← or ⌥⌘→ | |
Search Everywhere --> Double ⇧ | |
With tab you can navigate the sections | |
With ← you can navigate previous searches | |
Searches also menus | |
Searches also Run Configurations (alternate Run/Debug by pressing ⇧) | |
Line Comment (on german keyboard) --> ⌘- | |
Block Comment (on german keyboard) --> ⇧⌘- | |
Toggle Project View --> ⌘1 | |
To search in this view, just type | |
To navigate the search results, press ⇥ (Tab) | |
Structure --> ⌘7 | |
New File --> ⌘N or ⌃⌥N (depends on where you call it) | |
Show Navigation Bar --> ⌘↑ | |
Show definition in popup --> ⌘Y | |
If all views are hidden, to show them --> Double ⌘ (hold the second press to ⌘ and click the view you want) | |
For a second monitor, open a new window --> ⇧F4 | |
Context aware selection of text --> ⌥↑ or ⌥↓ | |
Move Text --> ⇧⌘↑ or ⇧⌘↓ | |
Clipboard history --> ⇧⌘V | |
Resize View --> ⇧⌘← or ⇧⌘→ | |
Block Selection with Mouse --> ⌥ mouse selection | |
Multi Cursor --> ⇧⌥click | |
Add Selection for Next Occurrence --> Sele ct a word and press ⌃G | |
to select all occurrences --> ⌃⌘G | |
HTML editing | |
#myclass>ul>li*5 then ⇥ to expand to HTML code | |
Completion --> ⌃Space | |
Smart Completion --> ⇧⌃Space (only shows the completion types that are valid/usable) | |
PopUp for Method Parameter Info --> ⌘P | |
Postfix completion - e.g. variable.notnull --> expands with ⇥ to | |
if(variable != null) { | |
[cursor_position] | |
} | |
Find Action --> ⇧⌘A | |
Open Terminal --> ⌥F12 | |
== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Notes from the longer video: https://www.youtube.com/watch?v=h8wRC7Qkcb8
https://docs.google.com/document/d/1bzx7VrYYtAudbYw5BYrPIEYV-j4o17GxCor8lLW8sHM/edit?usp=sharing