Add AHK language (syntax).
-
Please add AHK (AutoHotkey) as one of the many that comes pre-installed.
With syntax highlighting and auto-suggestion.I’m completely aware of other IDE for AutoHotkey, but I love to use Notepad++ and I don’t want to switch to another editor for AHK.
Thank You Npp Team!
-
Defining new builtin lexers comes from the Scintilla component and getting that updated component includedin the next release of Notepad++, or from Notepad++ users writing a lexer plugin, or from User Defined Languages (UDL). The Notepad++ developers do not write the lexers.
That said, there is a User Defined Languages Collection where users can share their already-defined UDL with others. And in that collection, there is an AutoHotKey UDL shared. So download that XML and save into your
userDefineLangs\folder (where other UDL like the “markdown._preinstalled.udl.xml” are stored), and restart Notepad++; then AutoHotKey files that end in the.ahkextension will show up with UDL-based syntax highlighting. -
@PeterJones,
Thank You so much! It is working as intended.Sorry if I requested for “pain in the A job”.
After reading your reply, I realized its not that easy as I thought earlier.
I don’t know the complications, as I’m not (Pro)grammer.
In spite of that, AHK is quiet understandable to mere mortals like me. -
In addition to the fine information provided by @PeterJones and in case you are not aware of this, there is a subforum on the official AutoHotkey website dedicated to everything related to Notepad++.
In particular, I suggest you check out this post, which explains how to run a script or selection from Notepad++.
Have fun
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login