Community
    • Login

    function/code-block auto indentation

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 2.3k 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.
    • kczx3K
      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 FrankC 1 Reply Last reply Reply Quote 0
      • MAPJe71M
        MAPJe71
        last edited by

        Notepad++ does not natively support AutoHotkey.

        1 Reply Last reply Reply Quote 0
        • Claudia FrankC
          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
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors