====== Visual Studio Code ====== VSCode is the world's most popular multi-purpose code editor((https://survey.stackoverflow.co/2023/#section-most-popular-technologies-integrated-development-environment)). It has been extended to provide very good support for AutoHotkey 1.X and 2.X. Thanks to [[user:thqby]] VSCode has the most complete AutoHotkey v2 support of any editor, providing better intellisense and autocompletion than any AHKv1 editor or other AHKv2 editor. ===== Features ===== * Syntax highlighting * IntelliSense * AutoComplete * AutoIndent * Hover documentation * Debugging support * Basic code linting ===== Setup ===== ==== AHKv1 ==== //Main article: [[editors:vscode:v1]]// Install [[https://marketplace.visualstudio.com/items?itemName=mark-wiemer.vscode-autohotkey-plus-plus|AutoHotkey Plus Plus]] by [[user:mark-weimer]] for IntelliSense, syntax highlighting, and basic debugging Install [[https://marketplace.visualstudio.com/items?itemName=zero-plusplus.vscode-autohotkey-debug|vscode-autohotkey-debug]] by [[user:zero-plusplus]] for advanced debugging ==== AHKv2 ==== Install [[https://marketplace.visualstudio.com/items?itemName=thqby.vscode-autohotkey2-lsp|AutoHotkey v2 Language Support]] for IntelliSense, syntax highlighting, and other integrations Install [[https://marketplace.visualstudio.com/items?itemName=zero-plusplus.vscode-autohotkey-debug|vscode-autohotkey-debug]] by [[user:zero-plusplus]] for advanced debugging Install [[https://github.com/GroggyOtter/ahkv2_definition_rewrite|AHKv2 Definition Rewrite]] by [[user:groggyotter]] for improved hover documentation and IntelliSense