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.
| Command | Shortcut |
|---|---|
| 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
| Command | Shortcut |
|---|---|
| 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.
| Command | Shortcut |
|---|---|
| Run Current File | ⌘R |
| Run Configuration | ⌥⌘R |
| Stop run | ⌘. |
| Debug selected Local Python configuration | ⇧⌘R |
| Toggle breakpoint | F9 |
| Continue | ⌃⌘Y |
| Step Over / Into / Out | F6 / F7 / F8 |