Key Bindings
Many of the key bindings you’ll use for Dart Code come from VS Code itself. You can find a PDF reference guide of these by clicking Help -> Keyboard Shortcut Reference. Below is a list of shortcuts that were added by Dart Code or from VS Code that may find useful for Dart and Flutter development.
You can easily configure your own key bindings, including binding to commands provided by Dart Code by running the Preferences: Open Keyboard Shortcuts command from the command palette and following the instructions in the VS Code Key Binding docs.
Editor Key Bindings
Ctrl
+T
(macOS:Cmd
+T
) - Show Workspace SymbolsCtrl
+Shift
+O
(macOS:Cmd
+Shift
+O
) - Show Document SymbolsCtrl
+Shift
+P
(macOS:Cmd
+Shift
+P
) - Open Command PaletteCtrl
+Space
- Open Code CompletionCtrl
+.
(macOS:Cmd
+.
) - Open Quick FixesF2
- Rename SymbolShift
+Alt
+F
(macOS:Shift
+Option
+F
) - Format DocumentF12
- Go To DefinitionShift
+F12
- Find ReferencesAlt
+Shift
+O
- Organize DirectivesF4
- Show Type Hierarchy
Debug Key Bindings
Ctrl
+Alt
+D
- Launch Dart DevToolsF5
- Start DebuggingCtrl
+F5
- Start Without DebuggingShift
+F5
- Stop DebuggingCtrl
+Shift
+F5
(macOS:Cmd
+Shift
+F5
) - Restart Debugging (or Hot Restart when debugging Flutter apps)Ctrl
+F5
- Hot Reload when debugging Flutter appsF9
- Toggle BreakpointF10
- Step OverF11
- Step InShift
+F11
- Step Out