Code Editor

User guideCode Editor for Mac

Mac keyboard shortcuts

Find commands for files, editor panes, running code and stepping through Python.

Files and navigation

Use Quick Open when you know part of a filename. To find an action instead, open Command Palette and enter its name, such as Split Editor or Toggle Console.

CommandShortcut
Open File⌘O
Open Folder⇧⌘O
Quick Open⌘P
Find in Files⇧⌘F
Command Palette⌘K
Save / Save All⌘S / ⌥⌘S
Go to Line⌃G

Editor and window

CommandShortcut
Previous / next file tab⇧⌘[ / ⇧⌘]
Split or rejoin editor panes⌘\
Toggle sidebar⌘B
Toggle inspector⌥⌘0
Toggle preview⇧⌘V
Toggle console⇧⌘Y
Settings⌘,

Run and debug

Use Run Current File to run the active tab with its automatic settings. To reuse saved arguments or standard input, select the configuration in the run menu and choose Run Configuration. Selecting a saved configuration for another file opens that file.

CommandShortcut
Run Current File⌘R
Run Configuration⌥⌘R
Stop run⌘.
Debug selected Local Python configuration⇧⌘R
Toggle breakpointF9
Continue⌃⌘Y
Step Over / Into / OutF6 / F7 / F8