Jump to content

Recommended Posts

Posted
On 10/11/2025 at 1:26 AM, jpm said:

Is there a way to suppress the Local warning on the a main scriptimage.thumb.png.31bba019f9c070eb9fac5b58f46108b5.png

You're supposed to be able to set #AutoIt3Wrapper_AU3Check_Parameters with the flags you want (which would be -w- 4 for turning off the local in global scope warning) but turns out there's a bug with reading them in for the diagnostics that I'm fixing right now.

`

  • 4 weeks later...
  • 3 months later...
Posted

Released v1.4.0!

Added

  • Map variable IntelliSense - Intelligent key completions when accessing AutoIt Map variables
    • Shows available keys when typing a Map variable name (e.g., typing $map shows known keys)
    • Tracks Map keys across your workspace and included files
    • Works with both direct assignments ($map["key"] = value) and declarations with initial keys
    • Configuration options to tune behavior:
      • autoit.maps.enableIntelligence - Enable/disable Map intelligence (default: true)
      • autoit.maps.includeDepth - Maximum depth for resolving #include files (default: 3, range: 0-10)
      • autoit.maps.showFunctionKeys - Show Map keys assigned in functions (default: true)
    • See docs/map-support.md for performance tuning recommendations
  • Scope-aware variable IntelliSense - Intelligent context-aware variable completions that respect AutoIt's scoping rules
    • Shows only accessible variables at cursor position (local, static, global, and parameters)
    • Prioritizes local variables over globals for better relevance
    • Respects function boundaries and AutoIt's scope rules (global and function-level scoping)
    • Extends to global variables from #include files
    • Intelligent debouncing (500ms) with concurrent update handling
    • Fallback to regex-based completion when service is unavailable
  • Ignore AutoIt Tidy backup files from diagnostics

Fixed

  • Improved error handling for variable tracking updates during configuration changes
  • Enhanced stderr and process error handling in Au3Check execution

Changed

  • Enhanced README documentation with Map intelligence feature details
  • Enhanced variable parsing with support for comma-separated declarations (e.g., Global $a, $b, $c) and improved string handling for AutoIt's double-character escaping
  • Extracted formatter constants into constants.js file
  • Syntax Highlighting Improvements
    • Migrated syntax definition from XML to JSON format (autoit.tmLanguage.json) for better maintainability and IDE support
    • Enhanced function pattern matching to distinguish function declarations from function calls with dedicated scopes
    • Consolidated all 98+ AutoIt macros into dedicated pattern repository for improved consistency
    • Improved numeric constant parsing with better hexadecimal, decimal, and scientific notation matching
    • Refined operator patterns for comparison, assignment, arithmetic, and concatenation with proper precedence
    • Fixed multi-line string handling by refining string end patterns
    • Enhanced preprocessor directive matching (#include, #pragma, #region, etc.) for better accuracy
    • Improved comment block pattern matching (#comments-start/#cs directives)
    • Reorganized send-key patterns into 13 categorized groups (browser keys, media keys, navigation, numpad, lock, editing, system keys) for granular theme customization

 

Rate and View on VS Code Marketplace

Rate and View on OpenVSX

Star & Submit Issues on GitHub

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...