Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>AutoItNew to Visual Studio Code? Get it now.
AutoIt

AutoIt

Anders Pedersen

|
5,628 installs
| (2) | Free
Syntax highlighting for AutoIt2 and AutoIt3
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AutoIt

Syntax highlighting for AutoIt3, with partial IntelliSense.

Features

  • AutoIt3 syntax highlighting, including DocBlock comments and legacy UDF documentation headers, plus code within Execute string literals
  • AutoIt3 IntelliSense, resolving declarations across #include files, the AutoIt3 installation include directory and user defined library directories:
    • Completion suggestions for keywords, macros, built-in functions, variables, user defined functions, preprocessor directives and snippets
    • Hover information with function/variable DocBlock and legacy UDF header support, scope information (local/global) and colored function signatures. DocBlocks use a phpDocumentor-style comment format with a summary, description and tags like @param, @return, @see and @link
    • Function signature help
    • Go to definition / peek, showing all matching declarations across scopes and included files (toggleable)
    • Find all references
    • Document highlight
    • Document symbols
  • Diagnostics for syntax errors, unresolvable #include statements and syntax errors inside Execute string literals
  • Document links for #include statements
  • Snippets for UDF DocBlock comments, function declarations, loops and more
  • Workspace indexing of AutoIt3 scripts on startup with progress indication, and file watching for created/changed/deleted files
  • Runs in web (vscode.dev)

Screenshots

Syntax highlighting

AutoIt3 syntax highlighting

Completion suggestions

AutoIt3 completion suggestions

Hover information

AutoIt3 hover information

DocBlock comment with rendered hover

AutoIt3 DocBlock comment and rendered hover information

Extension Settings

This extension contributes the following settings:

  • autoit3.installDir: The path to a AutoIt3 installation directory.
  • autoit3.userDefinedLibraries: Array of directories that should be searched for files when IntelliSense is resolving #include's in addition to the standard locations.
  • autoit3.version: The target AutoIt3 version for the IntelliSense (currently only 3.3.14.5).
  • autoit3.ignoreInternalInIncludes: Will ignore variables and function declarations in includes, prefixed with __, indicating internal usage.
  • autoit3.showAllDeclarations: When enabled, go to definition shows all matching declarations across scopes and included files. When disabled, only the closest matching declaration is shown.

AutoIt2

Legacy AutoIt2 syntax highlighting for .aut files (targeting AutoIt v2.64), with its own file icon.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft