AutoHotkey v2 Support

AutoHotkey SciTE

AutoHotkey v2 Support

SciTE4AutoHotkey supports editing AutoHotkey v2 scripts. To enable this feature, %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 AutoHotkey v2 files. This setting takes immediate effect and does not require restarting the editor. The following items are supported for AutoHotkey v2 Code:

  • Highly Accurate Syntax Highlighting that includes support for:
    • Command and Function syntax (including Object command syntax)
    • Flow of Control statements
    • Line and block comments
    • #Directives
    • Escape sequences in strings
    • Nested %expressions% (up to 5 levels of nesting), including command argument force-expression (% Expr) mode
    • Continuation sections of all kind, options are even detected
    • Built-in Variables and Built-in Functions
    • Object Methods and Object Properties
    • Built-in Object Methods and Built-in Object Properties
    • Hotkeys, Hotstrings, Remaps and Labels
  • Folding
  • AutoComplete and Calltips: the latter contain a short description of all Built-in Functions.
  • Interactive Debugging
  • Launching scripts using the Run / Quick Run command.