All Products
Search
Document Center

DataWorks:Editor shortcuts

Last Updated:Mar 26, 2026

The DataWorks code editor supports the keyboard shortcuts listed below. Shortcuts are organized by task. Shortcuts vary by operating system.

Important

The code editor does not support custom keyboard shortcuts.

Editing

Action Windows (Chrome) macOS (Chrome)
Save Ctrl + S Cmd + S
Undo Ctrl + Z Cmd + Z
Redo Ctrl + Shift + Z Cmd + Shift + Z
Cut current line Ctrl + X Cmd + X
Copy current line Ctrl + C Cmd + C
Delete current line Ctrl + Shift + K Cmd + Shift + K
Move line down or up Alt + ↓ / Alt + ↑ Alt + ↓ / Alt + ↑
Copy line down or up Shift + Alt + ↓ / Shift + Alt + ↑ Shift + Alt + ↓ / Shift + Alt + ↑
Indent or outdent line Ctrl + ] / Ctrl + [ Cmd + ] / Cmd + [
Toggle line or block comment Ctrl + / Cmd + /
Go to matching bracket Shift + Ctrl + \ Shift + Cmd + \

Navigation

Action Windows (Chrome) macOS (Chrome)
Go to beginning or end of line Home / End Cmd + ← / Cmd + →
Go to beginning or end of file Ctrl + Home / Ctrl + End Cmd + ↑ / Cmd + ↓
Move cursor one word right or left Ctrl + → / Ctrl + ← Alt + → / Alt + ←
Go to line Ctrl + G

Find and replace

Action Windows (Chrome) macOS (Chrome)
Find Ctrl + F Cmd + F
Replace Ctrl + H Cmd + Alt + F

Selection

Action Windows (Chrome) macOS (Chrome)
Select current line Ctrl + L
Select next match Ctrl + D Cmd + D
Select all occurrences of current selection Ctrl + Shift + L Cmd + Shift + L / Cmd + F2
Select all occurrences of find match Alt + Enter Alt + Enter
Select a column by dragging Shift + Alt + drag Shift + Alt + drag

Code folding

Action Windows (Chrome) macOS (Chrome)
Fold or unfold current region Shift + Ctrl + [ / Shift + Ctrl + ] Alt + Cmd + [ / Alt + Cmd + ]
Fold or unfold sub-region at cursor Ctrl + K + [ / Ctrl + K + ] Cmd + K + [ / Cmd + K + ]
Fold or unfold all regions Ctrl + K + 0 / Ctrl + K + j Cmd + K + 0 / Cmd + K + j

Multiple selections

Multiple cursors let you edit several locations at once.

Action Windows (Chrome) macOS (Chrome)
Add a cursor at clicked location Alt + click Alt + click
Insert a cursor above or below Alt + Cmd + ↑ / Alt + Cmd + ↓
Insert a cursor at end of each selected line Shift + Alt + I
Undo last cursor operation Ctrl + U Cmd + U
Find next or previous occurrence Cmd + G / Shift + Cmd + G