Visual Studio Code
VSCode is the world's most popular multi-purpose code editor1). It has been extended to provide very good support for AutoHotkey 1.X and 2.X. Thanks to 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: Visual Studio Code (v1 Guide)
Install AutoHotkey Plus Plus by mark-weimer for IntelliSense, syntax highlighting, and basic debugging
Install vscode-autohotkey-debug by zero-plusplus for advanced debugging
AHKv2
Install AutoHotkey v2 Language Support for IntelliSense, syntax highlighting, and other integrations
Install vscode-autohotkey-debug by zero-plusplus for advanced debugging
Install AHKv2 Definition Rewrite by GroggyOtter for improved hover documentation and IntelliSense