Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    function/code-block auto indentation

    Help wanted · · · – – – · · ·
    3
    3
    2091
    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.
    • kczx3
      kczx3 last edited by

      I use Notepad++ for coding AutoHotkey scripts and wouldn’t use any other editor. I also am picking up some PHP coding and find many useful things that Notepad++ seems to do for PHP that it does not for .ahk files. One such feature is when hitting ‘enter’ inside of a new code block, {}, it places the closing brace two lines down, my cursor one line down and indented by one tab. This does not occur when working in .ahk files. Is there any way to make this possible for .ahk files as well?

      Thanks!

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • MAPJe71
        MAPJe71 last edited by

        Notepad++ does not natively support AutoHotkey.

        1 Reply Last reply Reply Quote 0
        • Claudia Frank
          Claudia Frank @kczx3 last edited by

          @kczx3

          as MAPJe71 already said, not natively but with a scripting language plugin
          like python script or lua it should be possible to write a script which will do the job.

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors