You can access a variety of commands and windows in Visual Studio by choosing the appropriate keyboard shortcut. Supports standard VS Code formatting with a few options.įormatter directives instruct the formatter to behave a certain way on sections of code.Applies to: Visual Studio Visual Studio for Mac Visual Studio Code Usage: Hover over symbol to see IntelliSense documentation.Īssign name to block of code via double semicolon comment Name and go to it from outline. Right-click and select Find All References.Usage: Ctrl-click on the symbol to navigate to its definition.Supports navigation to symbol definition.You can add a comment to the function using a semicolon on the line above the function declaration.Supports IntelliSense for variables and functions. If you need more debugging functions (such as conditional breakpoints), you can add an additional extension: Install vscode-autohotkey-debug. This extension provides basic debugging functions. Output message: You can use OutputDebug command instead of MsgBox to log values.Įvaluate: Set and get variable values through the debug console. The debugger supports breakpoints, stack tracing, and variable watching If you need an advanced setup, we recommend zero-plusplus.vscode-autohotkey-debug.Ĭlick the debug button in the editor title menu (at the top right of the editor) or press Ctrl + Alt + F9. There are some known issues with the debugger. You can also run a selection as a standalone script. With AHK++, you can compile, debug, and run your scripts with keyboard shortcuts. Install from VS Code or install from VS Code Marketplace: Install AutoHotkey Plus Plus. New features: Another benefit to active maintenance is that AHK++ can add new features as users request them.Debug support: Run and debug AHK scripts from VS Code.You can report any issues with AHK++ (and view all issues) through the issue tracker. With other extensions, anything that's broken will stay broken forever. Actively maintained: Any issues encountered while using this extension can be reported and fixed.IntelliSense: Smart code completion, syntax highlighting, code navigation, and more.View this README on the project site ContentsĪutoHotkey Plus Plus is one of many extensions that offer VS Code language support.
See issue 146: Support AHK v2ĪHK++ is a fork of AutoHotkey Plus by cweijan, with the primary goal of fixing bugs and adding user-requested features.
AHK v2 will likely work, but please open issues and be patient if complex workflows are not supported. This includes:Ĭurrently, AHK++ officially supports only AHK v1. AutoHotkey Plus Plus (AHK++) provides AutoHotkey language support for VS Code.