Download (installer only - if there's enough demand I'll upload a Portable version)
SpoilerIn order to enable AutoHotkey v2 support, %AutoHotkeyDir%\v2-alpha\x86\AutoHotkey.exe (or x64) must exist. After this, select the v2 platform using the platform selector , and .ahk files will now be detected as AHK v2 files (takes immediate effect, does not require restart).
The lexer used to process AutoHotkey v2 scripts is the one that was described in "Scintilla AHK v2 Lexer sneak peek", with some bugfixes. The following items are still not completed:
- Proper hotkey detection (hotstrings and labels already done)
- (-based continuation sections
A still missing feature which I intend to add in v3.0.05 is a graphical style editor. The refactoring that is necessary to implement this has already been done, so it's now just a matter of writing the actual editor.
Code: Select all
MsgBox [, Options, Title, Text, Timeout] MsgBox([Options, Title, Text, Timeout])
Note: Lexikos' AutoComplete.lua requires some changes to function with AutoHotkey v2 code. I've uploaded a modified version so that Lexikos himself can fix it. Additionally it's now in Extension format (*hint* *hint*). There's also another bug when using this script in which switching from v1 to v2 (and viceversa) without restarting does not clear the word cache, causing AutoComplete to still display the old word list (however calltips are unaffected). I have not managed to fix this.