AutoItScript Au3 language package for SublimeText including syntax highlighting, comments toggling, auto-completions, build systems for run and compile, Tidy command, IncludeHelper command.
- Manual method: Download ZIP from github. Extract the files to Sublime_Data_Dir\Packages\AutoItScript
- Automatic method: Use wbond package control.
If you have the default Sublime keybindings intact, then:
- Ctrl+B will run the current file (with AutoIt3.exe)
- Ctrl+Shift+B will compile the current file (with Aut2Exe.exe)
- Alt+TT will invoke Tidy on the current file (with Tidy.exe).
- Alt+TI will invoke IncludeHelper on the current file.
- Alt+TF will invoke AutoIt Window Info.
- Alt+TH will invoke AutoIt Help.
For the build systems and Tidy command, if you have a non-default installation you will need to set your specific path to AutoIt3.exe, Aut2Exe.exe, and Tidy.exe in a file named AutoIt.sublime-settings in your User folder. You can access the settings file from Menu Preferences > Package Settings > AutoIt
. You should make a copy of AutoIt Settings - Default
at AutoIt Settings - User
since then your settings file in your User folder will not get overwritten when this package updates.
Instructions on how to configure goto-documentation plugin for AutoIt (F1 Hotkey will take you to documentation for word under cursor):