Community
    • Login

    Add AHK language (syntax).

    Scheduled Pinned Locked Moved General Discussion
    ahkautohotkeylanguage
    4 Posts 3 Posters 7.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Gonda WirelessG
      Gonda Wireless
      last edited by

      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!

      PeterJonesP astrosofistaA 2 Replies Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Gonda Wireless
        last edited by

        @Gonda-Wireless ,

        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 .ahk extension will show up with UDL-based syntax highlighting.

        Gonda WirelessG 1 Reply Last reply Reply Quote 3
        • Gonda WirelessG
          Gonda Wireless @PeterJones
          last edited by

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

          1 Reply Last reply Reply Quote 1
          • astrosofistaA
            astrosofista @Gonda Wireless
            last edited by

            @Gonda-Wireless

            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

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors