Skip to content

v1.5.0 - 2026-04-07

Latest

Choose a tag to compare

@loganch loganch released this 08 Apr 00:11
· 3 commits to master since this release

Added

  • VS Code variable support in path settings: settings that accept file paths (e.g. autoit.aiPath) now resolve VS Code variables such as ${workspaceFolder} and ${userHome} (#240) (29d494b)

Fixed

  • Includes without trailing space now colorize correctly.
  • Variable completions not appearing on startup: completions now initialize correctly during extension activation. The scope-aware path also falls back to regex-based completion when the parser returns empty results.
  • Signature provider crashes on malformed input: dynamic regex fragments are now escaped in parameter and header documentation extraction, preventing crashes from malformed parameter or function names.
  • Signature parsing errors: parameter and header documentation extraction now returns safe defaults instead of throwing on unexpected input.
  • Smart-help errors with special characters: query text is now escaped before regex construction, preventing invalid regular expression errors.
  • Go to Definition (F12) performance regression: introduced in v1.4.0 — three improvements that together restore lookup speed to parity with v1.1.0/v1.2.0
    • Simplified the variable-definition regex to eliminate backtracking on large files
    • Added a stat grace period to skip redundant filesystem checks on rapid repeated lookups
    • Added a per-document definition cache that is evicted on edit
  • Function declaration parameter scopes: TextMate grammar now keeps the declaration scope active through the closing parenthesis and assigns a dedicated variable.parameter.autoit scope to parameters (965c5f6)
  • Error handling in diagnostics and AI config: improved debug logging and error recovery in diagnosticUtils, ai_config, and extension activation paths (0d52962)
  • Function parameter parsing with quoted parentheses: parser and TextMate grammar now correctly handle ) characters inside quoted strings in function default parameter values (#243) (40c727f)

Changed

  • Separated some preprocesors to be colored closer to Scite.
    • Token scope (keyword.control.directives.autoit) now is used for Include-Once, NoTrayIcon, RequireAdmin and OnAutoItStartRegister
    • Token scope (meta.preprocessor.autoit) is used for all others.
  • Improved regex patterns for #include directive resolution and function description matching in the utility module (640699a)

Removed

  • Removed deprecated mainFunctions.js static AutoIt function completions file (1,645 lines); dynamic completions take over fully (fe8e176)
  • Removed deprecated udf_WinAPITheme.js completions file (b5f2b6a)