/
Keyboard Shortcuts in Studio

Keyboard Shortcuts in Studio

Studio Specific Shortcuts

Windows

Mac

Where

Action

Windows

Mac

Where

Action

Ctrl + Shift + L

⌘ ⇧ L

Anywhere

Opens a logic

Ctrl + Shift + N 

⌘ ⇧ O

Anywhere

Opens an element (or a file)

Alt + 8

⌘ 8

Anywhere

Opens/closes the Fetch tool window

Alt + 0

⌘ 0

Anywhere

Opens/closes the Deploy tool window

Hold Ctrl and click

hold ⌘ and click

Anywhere in the code on out.Element

Jumps in the referred element

Alt + F5

⌥ F5

logic.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

⌃A

Fetch or Deploy tool windows

Selects all logics

Tab

Tab

logic.json editor parameters

Jumps 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.

 

Windows

Mac

Where

Action

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

 

Related content

Found an issue in documentation? Write to us.