Community
    • Login

    function/code-block auto indentation

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 2.6k Views 3 Watching
    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 Offline
      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 Online
        MAPJe71
        last edited by

        Notepad++ does not natively support AutoHotkey.

        1 Reply Last reply Reply Quote 0
        • Claudia FrankC Offline
          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

          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors