Script editor keyboard shortcuts

The script editor supports several keyboard shortcuts that can help you edit scripts and analytics more quickly and accurately.

Keyboard shortcut

Description

ALT+/

Automatically completes the word you are typing based on words found in the document. Repeat this shortcut to display each possible word.

CTRL+J

Find as you type – highlights matching strings as you type.

CTRL+K

Find next – type the string you are searching for. Use the up arrow to search forward and the down arrow to search backwards.

CTRL+SHIFT+K

Find previous.

TAB

Indents line or selected text.

SHIFT+TAB

Outdents line or selected text.

CTRL+SPACE

Command, parameter, and function name completion.

CTRL+D

Delete line.

CTRL+SHIFT+ENTER

Insert a blank line above the cursor.

SHIFT+ENTER

Insert a blank line below the cursor.

ALT+UP ARROW

Move line text up one line.

ALT+DOWN ARROW

Move line text down one line.

CTRL+L

Go to the specified line number.

CTRL+ALT+DOWN

Copy line.

CTRL+ALT+UP

Duplicate line.

ALT+SHIFT+A

Toggle block selection mode.

CTRL+DELETE

Delete the whole word to the right of the cursor.

CTRL+BACKSPACE

Delete the whole word to the left of the cursor.

CTRL+SHIFT+DELETE

Delete all text from the cursor to the end of the line.

CTRL+Q

Jump to the most recent edit location.

CTRL+SHIFT+Y

Convert selected text to lowercase.

CTRL+SHIFT+X

Convert selected text to uppercase.

CTRL+PAGE DOWN

Navigate between script editor tabs from left to right.

CTRL+PAGE UP

Navigate between script editor tabs from right to left.

CTRL+F6

Go to the next editor tab.

CTRL+SHIFT+F6

Go to the previous editor tab.

SHIFT+F10

Open the context menu.

CTRL+S

Save all open files.

CTRL+F4

Close the file.

CTRL+SHIFT+F4

Close all open files.

CTRL+F

Find and replace.