Support for editing AutoHotkey .ahk files

Is anyone aware of a way to get syntax highlighting, and ideally full support with completion etc, for AutoHotkey's .ahk script files in IntelliJ IDEA. I'm loving IDEA as an editor, and would love to be able to use it effectively for AutoHotkey scripts.

I'm currently using UltraEdit, and it's not bad, but it's nowhere near as sophisticated as IDEA.

I don't see an official plugin for this. Are there places that might have something unofficial?



As far as I know no such plugin exists. You can configure some simple syntax highlighting using the custom file types feature (Settings | File Types).


Thanks Dmitry, that's what I thought. I wish I had time to get fully into writing a "language" plugin, but that's not a high enough priority right now relative to the work it'd take. In general I'm headed towards using IDEa for more and more things, but this one will have to wait.

Thanks again,


The autohotkey plugin for IntelliJ is available now on the Plugin Marketplace. It's being developed and should have more features as time goes on.


Install plugin from disk

After you download the plugin archive (ZIP or JAR), do the following:

  1. In the Settings/Preferences dialog Ctrl+Alt+S, select Plugins.

  2. On the Plugins page, click  and then click Install Plugin from Disk.

  3. Select the plugin archive file and click OK.

  4. Click OK to apply the changes and restart the IDE if prompted.


this msj appear =(


Plugin 'AutoHotkey Language' version 0.2.0 is incompatible with this installation: until build 201.SNAPSHOT < WS-202.7660.23


Héctor Kaizen F.V Hi, yes that message is appearing because the plugin requires an update. Basically the error is saying that the plugin only supports "201" (2020.1), but your installation of IntelliJ is "202" (2020.2). The devs are working on the plugin and it'll take some time, but in the meantime you can develop using the AutoHotkey plugin for Sublime or any one of the existing tools out there at the moment (eg AHKStudio or AutoGUI).


Please sign in to leave a comment.