A personal edition modified from vscode-autohotkey
And Microsoft lsp-simple
AutoHotKey language support for VS Code
What's New
v2 CompatibleMode(expremental)
Allows some v2 syntax
Support onHover
Debugger runtime executable path overlap. For detail, see Feature
Build-in Variable and Function(partly) hint.
Need documentions which is easy to be parsed by js/ts. If you find any, help please(Example).
Notice
Recursive descent parser is under alpha stage, if you want to use old one, you can go to here to download it
Experimental hint for where symbol is included on completion. ONLY work on global symbol.
Enumerate include
Documents must be explicitly included by #include
Notice#include DirName are not implemented now
If you need a debugger, just install any debug extension in market. As recommended options, AutoHotKey Debug by me or vscode-autohotkey-debug by zero-plusplus
Goto Definition(only works for "code", file name is not supported for now)
Signature Helper (tooltip for method parameters)
Hover
Enumerate include documents
The documents must be explicitly included by #include
Folding region commnet
mark region start by ;[region]
mark region end by ;[endregion]
Debugger runtime executable path overlap.
When install with AutoHotKey Debug, AhkExecutable (runtime executable path) option in launch.json will be overlap with interpreter path setting of this extension, if AhkExecutable is left empty.
A typical situtation is that debug a file without any launch.json settings. Debug extension will start with runtime in interpreter path setting.
{
// ......
"AhkExecutable": "" //this will be overlap by interpreter path setting
// .....
}
Settings
Autohotkey Language Server: Document Language
Language of documents of built-in variables and fucntions.
Only Chinese documents of built-in variables(Option: CN) available now
Autohotkey Language Server>Trace: Server
Traces the communication between VS Code and the language server.