Keyboard Shortcuts in Studio

Studio Specific Shortcuts

WindowsMacWhereAction
Ctrl + Shift + L⌘ ⇧ LAnywhereOpens a logic
Ctrl + Shift + N ⌘ ⇧ OAnywhereOpens an element (or a file)
Alt + 8⌘ 8AnywhereOpens/closes the Fetch tool window
Alt + 0⌘ 0AnywhereOpens/closes the Deploy tool window
Hold Ctrl and clickhold ⌘ and clickAnywhere in the code on out.Element

Jumps in the referred element

Alt + F5⌥ F5logic.json editor or the element source code editor (logic.json must be opened)

Runs the logic test

Ctrl + Enter

⌘ ↵

Groovy console tab in the logic.json window

PA SQL query console

Evaluates the expression / Runs SQL
Ctrl + A⌃AFetch or Deploy tool windowsSelects all logics
TabTablogic.json editor parametersJumps over the parameters
pfx...<Enter>pfx... + ↵Anywhere in the code

Displays the list of useful Live Templates for Pricefx.

After selecting a template using Enter, it will apply the template in the code.

Commonly Used IDEA Shortcuts

Here we list the most useful shortcuts. More can be found here. This sheet is also available from the menu Help > Keymap Reference.

Pro tip

Consider installing Key Promoter X plugin and it will remind you every time you miss a keyboard shortcut.


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 usages of a method

Found an issue in documentation? Write to us.