Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WindowsMacWhereAction
Ctrl + Shift + N ⌘ ⇧ OAnywhereSearches and opens a file or element
Shift Shift⇧ ⇧AnywhereSearches and opens any file
Ctrl + QF1 or ⌃ + JIn the code on a Groovy API functionDisplays the offline documentation (Javadoc) of a Groovy API function
Ctrl + Space⌃ + SpaceAnywhere in the codeForces auto-completion
Ctrl + P⌘ PIn the code in a Groovy API function parenthesesDisplays 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⌘ ⇧ ROn a folder in a project tree (e.g. CalculationLogic)Searches and replaces of a text across all element sources
Ctrl + D⌘ DAnywhere in the codeDuplicates the line (especially useful when creating filters)
Ctrl + Y⌘ ⌫Anywhere in the codeDeletes the actual line of the code
Ctrl + /⌘ /Anywhere in the codeComments out a line in the code
Ctrl + Alt + /⌘ ⌥ /Anywhere in the codeComments out a block of code
Ctrl + Shift + Arrow up/down⌃ ⇧ ↑ or ↓Anywhere in the codeMoves the line up/down
Ctrl + Alt + Arrow up/down⌃ ⌥ ↑ or ↓Anywhere in the codeMoves code block up/down
Shift + F6⇧ F6In the code on a variable occurrenceRefactors (renames) the Groovy variable
/**<ENTER>/** ↵Anywhere in the code above the function declarationGenerates a Javadoc template of a Groovy function
Ctrl + Alt + L⌘ ⌥ LAnywhere in the codeAuto-reformats the Groovy code (according to a standard Java code style convention)
Ctrl + Alt + Arrow left/right⌘ ⌥ ← or →Anywhere in editorNavigates back in the history
Ctrl + Alt + F7⌘ ⌥ F7In the code on a method occurrence, e.g. api.find()Show ussages usages of a method