/AutoHotkey-Editors

AutoHotkey Syntax Highlighting for text editors

Primary LanguageAutoHotkey

AutoHotkey Syntax Highlighting for text editors

A collection of links and scripts to setup syntax highlighting for a variety of text editors.

This GitHub repository tries to maintain current versions of Keywords, Functions, Variables, Directives, Commands and Keys that used to be included with the AutoHotkey "basic" installer. By having installation scripts download these files from this repository, they are easier to maintain, and if written properly, make it easier to update your current syntax files when new commands or keywords are added to AutoHotkey.

A simple function to download the files from GH can be found here, but you can of course write your own.

Syntax files

Available files (for AutoHotkey 1.x)

Available files (for AutoHotkey 2.x)

  • None as of yet

Supported Editors

Dedicated AutoHotkey Editors:

Installation scripts:

Ready made syntax higlighting (may not be uptodate):

Gone missing or to do

  • ConTEXT
  • Crimson Editor
  • EditPlus
  • Emacs
  • EmEditor
  • jEdit
  • MED
  • PSPad
  • TextPad
  • UltraEdit

Editors with "built-in" AutoHotkey syntax highlighting:

Other

Functions

Download files and strip comments and empty lines

Available functions (for AutoHotkey 1.x)

Writing your own

If you write or update a script please do take into account the following:

  • Include any specific instructions at the top of your installer script(s)
  • Try to detect if syntax highlighting is already installed, if so, offer the option to the user to only update the Syntax File (and not affect any colour schemes they may already have setup)
  • Always have your script download these files from the GitHub repository: Commands.txt, Directives.txt, Functions.txt, Keywords.txt, Variables.txt and Keys.txt. That way your script does not have to be updated when a new function or command is added.
  • Submit a pull request to this GH repository to have your script included here