Community
    • Login

    Auto-indent one space instead of a tab

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 621 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.
    • jabcreationsJ
      jabcreations
      last edited by

      Settings ⇨ Preferences ⇨ Auto-Completion ⇨ Auto-indent is checked however after opening curly brackets in PHP and pressing Enter it inserts a tab!

      How do I slap it in the face and make it indent by only a single space?

      tab_programmers.jpg

      Mark OlsonM 1 Reply Last reply Reply Quote 2
      • Mark OlsonM
        Mark Olson @jabcreations
        last edited by Mark Olson

        @jabcreations
        ed2a9c9b-b96b-4b65-97cb-f5e5f8e3bade-image.png
        If you want that to be the default for all languages, you could just scroll up the Tab Settings menu to Default and just set tab size to 1 space as shown in the picture.

        jabcreationsJ 1 Reply Last reply Reply Quote 5
        • jabcreationsJ
          jabcreations @Mark Olson
          last edited by

          @Mark-Olson Thank you Mark! I haven’t had to manually set these options since I first started using Notepad++ years ago.

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