Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>AutoHotkey with DocNew to Visual Studio Code? Get it now.
AutoHotkey with Doc

AutoHotkey with Doc

bhbbbbb

|
1,652 installs
| (1) | Free
AutoHotkey language support with documentation
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AHKDoc

AHKDoc is a fork of vscode-autohotkey-plus by cweijan with additional support for documentation called AHKdoc.

Ahkdoc is inspired by JSDoc.

This is an early version, and there is still a lot to be done.

Currently, it is very similar to jsdoc.

More functionality and better documentation will be coming in future version.

Start

Install vscode-autohotkey-ahkdoc from vscode marketplace.


AHKDoc

  • ahkdoc

  • ahkdoc_hover

  • ahkCompletion


String-Block

In ahk, string block can be start with several options, AhkDoc handle those options, making it prettier.

  • stringblock without code

Sometime, we use this syntax for multi-line coding (unfortunately, ahk doesn't support it).

Simply add a ;code tag at the end of the line start with (.

Note that in order to make ;code be parsed as comment, the comment option (namely, comments, com, c) should be included in this string block.

  • stringblock with code

Setting

OpenSetting -> extensions -> Ahk Plus settings


Versions

v0.5.0

  • add ahkdoc

v0.5.1

  • highlight byref
  • fix bug that enter on the line with /**
  • new tag @byref
  • make string block prettier see String-Block

v0.5.2

  • fix bug caused by v0.5.1
  • fix functionality working with ByRef

Todo

  • [x] Join Ltrim ...
  • [x] Hightlight ByRef
    • [x] byref support not in parser yet
  • [ ] parse method's default value
  • [ ] in switch default should be colored in same class as (while if ...)
  • [x] new tag @byref
  • [x] enter on the line with /**
  • [ ] color const (all uppercase var)
  • [ ] support for class
    • [ ] get and set highlight
    • [ ] __New, __Get, __Call... color fix (when '{' at the end of line)
    • [ ] meta function syntax
  • [ ] @link @see
  • [ ] @deprecated
  • [ ] fix variable colored as keyword (when keyword == Key Name)
  • [ ] object cannot have , at last prop

Credits

  • vscode-autohotkey-plus by cweijan
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft