{"title":"Keyboard shortcuts for AL in Visual Studio Code","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/devenv-keyboard-shortcuts/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-keyboard-shortcuts, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-keyboard-shortcuts","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"List of keyboard shortcuts for the new development environment (Visual Studio Code).","date":"2025-09-04","meta":{"topic":"overview"},"outline":[{"level":1,"title":"Keyboard shortcuts for AL in Visual Studio Code","slug":"keyboard-shortcuts-for-al-in-visual-studio-code","at":0,"chars":2935},{"level":2,"title":"General in Visual Studio Code","slug":"general-in-visual-studio-code","at":368,"chars":690},{"level":2,"title":"Editing in Visual Studio Code","slug":"editing-in-visual-studio-code","at":1058,"chars":544},{"level":2,"title":"Errors in Visual Studio Code","slug":"errors-in-visual-studio-code","at":1602,"chars":143},{"level":2,"title":"Compile and publish in Visual Studio Code","slug":"compile-and-publish-in-visual-studio-code","at":1745,"chars":206},{"level":2,"title":"Debugging in Visual Studio Code","slug":"debugging-in-visual-studio-code","at":1951,"chars":485},{"level":2,"title":"Profiling in Visual Studio Code","slug":"profiling-in-visual-studio-code","at":2436,"chars":340},{"level":2,"title":"Related information","slug":"related-information","at":2776,"chars":159}],"text":"# Keyboard shortcuts for AL in Visual Studio Code\nThis article lists commonly used Visual Studio Code keyboard shortcuts for AL development-covering navigation, editing, building, publishing, debugging, and profiling. For the full, platform‑wide set of bindings, go to Key bindings for Visual Studio Code<https://code.visualstudio.com/docs/customization/keybindings>.\n## General in Visual Studio Code\nKeyboard Shortcut|Action\nCtrl+Shift+P|Show all commands\nAlt+F6|Download source code.\nAlt+A+L|AL Go! Generates a HelloWorld project.\nCtrl+Shift+B|Compile and package.\nF5|Compile, Package, and Publish (with debugging).\nCtrl+F5|Build and publish without debugging. Note: The keyboard shortcut has a different meaning when debugging.\nF6|Publish and open Designer.\nCtrl+F2|Update the compiler used by the service tier(s).\n> NOTE\n> With runtime 16, you can cancel an in‑progress publish. Hit the Cancel button in the dialog in the lower right corner. The operation stops packaging/upload steps as soon as possible; partial artifacts aren't applied to the server.\n## Editing in Visual Studio Code\nKeyboard Shortcut|Action\nCtrl+Space|Look up suggestions for the current object.\nCtrl+X|Cut.\nCtrl+C|Copy.\nCtrl+V|Paste.\nCtrl+F2|Select all occurrences.\nF12|Go to definition\nAlt+F12|Peek definition.\nShift+F12|Show references.\nCtrl+Shift+Space|Look up parameter hints.\nCtrl+K Ctrl+C|Add line comment.\nCtrl+K Ctrl+U|Remove line comment.\nCtrl+Shift+P|Show all commands.\nF2|Rename (use Enter to rename, use Shift+Enter to preview).\nShift+Alt+E|Look up events and insert event subscriber in code for a selected event.\n## Errors in Visual Studio Code\nKeyboard Shortcut|Action\nF8|Move to the next error or warning.\nShift+F8|Move to the previous error or warning.\n## Compile and publish in Visual Studio Code\nKeyboard Shortcut|Action\nCtrl+Shift+B|Compile and build the solution.\nCtrl+F5|Build and deploy.\nShift+Alt+W|Publish full dependency tree for the active project.\n## Debugging in Visual Studio Code\nFor articles on debugging in AL, see devenv-debugging and devenv-snapshot-debugging.\nKeyboard Shortcut|Action\nF5|Start debugging session\nCtrl+F5|Publish without building. Note: The keyboard shortcut has a different meaning when not debugging.\nCtrl+Alt+F5|Start RAD publishing without debugging.\nAlt+F5|Start RAD with debugging.\nF7|Start a snapshot debugging session.\nShift+F7|List all available snapshots.\nAlt+F7|Finish a snapshot debugging session.\n## Profiling in Visual Studio Code\nFor more information about profiling, see devenv-al-profiler-overview.\nKeyboard Shortcut|Action\nEnter|Expand and collapse a node.\nLeft arrow|Collapse a node.\nRight arrow|Expand a node.\n- (minus)|Collapse all nodes.\n* (star)|Expand one level for all nodes. Consecutive keystrokes expand to the next level.\n## Related information\nDeveloping extensions<devenv-dev-overview>\nGet started with AL<devenv-get-started>\nAL development environment<devenv-reference-overview>"}