Jump to content

Recommended Posts

Posted

I've been building AutoIt support for Zed, a fast, free, open-source editor for Windows, macOS and Linux. It's now available in Zed's extension registry: open Extensions, search for AutoIt, and install.

It uses its own tree-sitter grammar and a native language server written in Rust, so there's nothing extra to install. It picks up AutoIt and SciTE4AutoIt3 installs automatically.

What it does

  • Live Au3Check diagnostics as you type. Errors and warnings show up about half a second after you stop typing, without saving.
  • Hover docs for 3,542 functions (built-ins and the standard UDFs): signature, parameters, return value, and a link to the help page.
  • Go to definition and find references across #included files and the whole project folder.
  • Call hierarchy: see who calls a function and what it calls.
  • Signature help and parameter hints inside function calls, e.g. MsgBox(flag: 0, title: "Hi", ...).
  • Semantic highlighting: your own functions look different from built-in and UDF ones.
  • Color swatches next to 0xRRGGBB values in GUI color functions, with RGB/BGR handled per function.
  • Quick fixes: add a missing #include <...> for UDF functions, and fix function-name casing.
  • Tidy formatting, #region folding, and an outline with parameters and region contents nested.
  • Bundled tasks: Run, Au3Check, compile with Aut2Exe or the AutoIt3Wrapper GUI, Au3Info, Koda, and kill the running script.
  • 19 snippets for common blocks (Func, If, For, Switch, #Region, MsgBox, ...).

Notes

  • Diagnostics, formatting and the tasks need AutoIt/SciTE4AutoIt3, so they're Windows-only. Everything else also works on macOS and Linux.
  • Call hierarchy needs Zed 1.19 or newer.
  • A few features (signature help, LSP folding, the nested outline) are opt-in Zed settings; the README shows how.

Links

Feedback, bug reports and feature requests are welcome, either here or as GitHub issues.

  • 1 month later...
Posted

I tried it, but for some reason syntax highlighting didn't work correctly, it only worked correctly in the little preview navigation bar on the right side.

2026-11-13_13-49-07.jpg

Posted
On 11/13/2026 at 6:20 PM, paw said:

I tried it, but for some reason syntax highlighting didn't work correctly, it only worked correctly in the little preview navigation bar on the right side.

2026-11-13_13-49-07.jpg

Can you try the following:

> Close editor and open again

> Uninstall the AutoIt extension and reinstall

Is your Autoit installation from the official installer or through a portable archive? Which version of Windows?

Posted

Restarting the editor, reinstalling the extension and reinstalling SciTE4AutoIt3 did not fix it.
I'm using Windows 10 the official non-portable SciTE4AutoIt3 version and Zed 1.28.1

Posted (edited)

I'm unable to replicate your issue on Windows 11. The syntax highlighter does not even need the AutoIt install, it starts working as soon as you install the extension, without needing a Zed reload. I tested this, and the syntax highlighter starts working immediately on any open au3 files in the Zed editor.

check your settings.json maybe you have earlier associated au3 files with some other syntax highlighter, like C or JS, and those settings are still in there?

image.thumb.png.0f805920c8dc41098d8f484f2bb8af3a.png

Edited by sumit-m

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...