Community
    • Login

    Return auto indent to old settings

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 5 Posters 6.3k Views 1 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.
    • KickstartK Offline
      Kickstart
      last edited by

      Hi

      I have used Notepad++ for quite a while, mainly for php. Recently upgraded my PC so installed a fresh version.

      However the way auto indent works has changed.

      Previously if I entered a curly bracket and pressed return it went to the next line but didn’t indent any further. I manually pressed tab, and following lines afterwards would be indented in line with my manual tab.

      However it has now changed that when I enter a curly bracket and press return it automatically indents an extra tab. Which annoys the hell out of me!

      I have played with the settings (I have already turned off the auto complete of curly brackets), but the only option that seems to affect the indenting is to turn auto indent off. But then on any fresh line I am back to the far left and need to manually do all the indentation.

      Is there a setting to just indent to the same amount as I had manually indented previously without trying to add an extra indent for me?

      All the best

      K

      1 Reply Last reply Reply Quote 0
      • Seals McGasketS Offline
        Seals McGasket
        last edited by

        I have a similar problem with the new Auto Indent feature with curly braces. If I have a line width a curly brace at the end of it, then on the next line I want to put the matching curly brace somewhere other than at the start of the line above N++ automatically moves the curly brace where it thinks it should be at the start of the line above.

        This is different than how it behaved before and is completely unnecessary. I will control where I put the characters, the auto indent feature should only move the cursor, not move any characters I have typed.

        I know disabling removes this but then when I press enter I’m all the way at the left hand side of the screen again. Please give us the option to change it back to the old way. It was working fine before.

        1 Reply Last reply Reply Quote 0
        • dejankozinaD Offline
          dejankozina
          last edited by

          I too call for either the return to the old indent behaviour or at least a way to get rid of the so-called ‘smart’ indent - it’s a big time annoyance to me.
          I’ve used N++ since at least version 3.5 (that’s the oldest installer I could find in the backups), always upgrading as soon as a newer version came out. Now I’ve reversed to version 6.6.9 and given up on upgrades just to get rid of this. I just can’t understand why forcing somebody else’s coding style upon my code is supposed to be ‘smart’…
          Pretty please?

          1 Reply Last reply Reply Quote 0
          • Iris NeuerversuchI Offline
            Iris Neuerversuch
            last edited by

            Hello,

            same issue here. Please let the user chose the desired settings.
            The current behavior deranges me. The old one was user friendly and helped me a lot!
            Thank you!

            1 Reply Last reply Reply Quote 0
            • Dellord AnnihilusD Offline
              Dellord Annihilus
              last edited by

              • return to old auto indent settings
              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