Keyboard Shortcuts

The following table provides an overview of some of the shortcut key combinations that you can use when you are working in Visual Studio Code. For a complete overview, see Key Bindings for Visual Studio Code.

General in Visual Studio Code

Keyboard Shortcut Action
Ctrl+Shift+P Show All Commands
F7 Download source code
Alt+A Alt+L Go! Generates a HelloWorld project
Ctrl+Shift+B Package
F5 Publish
Ctrl+F5 Publish without debugging
F6 Publish and open the designer
Ctrl+F2 Update the compiler used by the service tier(s)

Editing in Visual Studio Code

Keyboard Shortcut Action
Ctrl+Space Look up suggestions for the current object
Ctrl+X Cut
Ctrl+C Copy
Ctrl+V Paste
Ctrl+F2 Select all occurrences
F12 Go to definition
Alt+F12 Peek definition
Shift+F12 Show References
Ctrl+Shift+Space Look up parameter hints
Ctrl+K Ctrl+C Add line comment
Ctrl+K Ctrl+U Remove line comment
Ctrl+Shift+P Show All Commands

Errors in Visual Studio Code

Keyboard Shortcut Action
F8 Move to the next error or warning
Shift+F8 Move to the previous error or warning

Compile in Visual Studio Code

Keyboard Shortcut Action
Ctrl+Shift+B Compile and build the solution
Ctrl+F5 Build and deploy

Debugging in Visual Studio Code

Keyboard Shortcut Action
F5 Start debugging session

See Also

Developing Extensions
Getting Started with AL
AL Development Environment