...
Windows | Mac | Where | Action |
---|---|---|---|
Ctrl + Shift + N | ⌘ ⇧ O | Anywhere | Searches and opens a file or element |
Shift Shift | ⇧ ⇧ | Anywhere | Searches and opens any file |
Ctrl + Q | F1 or ⌃ + J | In the code on a Groovy API function | Displays the offline documentation (Javadoc) of a Groovy API function |
Ctrl + Space | ⌃ + Space | Anywhere in the code | Forces auto-completion |
Ctrl + P | ⌘ P | In the code in a Groovy API function parentheses | Displays the function parameters info / Views all parameter overloads of a method |
Ctrl + Shift + F | ⌘ ⇧ F | On a folder in a project tree (e.g. CalculationLogic) | Searches for text across all element sources |
Ctrl + Shift + R | ⌘ ⇧ R | On a folder in a project tree (e.g. CalculationLogic) | Searches and replaces of a text across all element sources |
Ctrl + D | ⌘ D | Anywhere in the code | Duplicates the line (especially useful when creating filters) |
Ctrl + Y | ⌘ ⌫ | Anywhere in the code | Deletes the actual line of the code |
Ctrl + / | ⌘ / | Anywhere in the code | Comments out a line in the code |
Ctrl + Alt + / | ⌘ ⌥ / | Anywhere in the code | Comments out a block of code |
Ctrl + Shift + Arrow up/down | ⌃ ⇧ ↑ or ↓ | Anywhere in the code | Moves the line up/down |
Ctrl + Alt + Arrow up/down | ⌃ ⌥ ↑ or ↓ | Anywhere in the code | Moves code block up/down |
Shift + F6 | ⇧ F6 | In the code on a variable occurrence | Refactors (renames) the Groovy variable |
/**<ENTER> | /** ↵ | Anywhere in the code above the function declaration | Generates a Javadoc template of a Groovy function |
Ctrl + Alt + L | ⌘ ⌥ L | Anywhere in the code | Auto-reformats the Groovy code (according to a standard Java code style convention) |
Ctrl + Alt + Arrow left/right | ⌘ ⌥ ← or → | Anywhere in editor | Navigates back in the history |
Ctrl + Alt + F7 | ⌘ ⌥ F7 | In the code on a method occurrence, e.g. api.find() | Show ussages usages of a method |