Community

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

    Unwanted Tab Insertions

    Help wanted · · · – – – · · ·
    3
    6
    1813
    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.
    • Jennifer Thompson
      Jennifer Thompson last edited by

      I am adding comments to some C++ files. I place my cursor at the end of a line and click Enter to start a new line. The cursor is indented to match the previous line and tabs are placed before the line. I have looked all though preferences and cannot see where to tell the app not to inherit the previous line’s indentation (which were created with whitespaces by the way). Can someone please help?

      Scott Sumner 1 Reply Last reply Reply Quote 1
      • dail
        dail last edited by

        Settings > Preferences > MISC. > Auto-indent

        Jennifer Thompson 1 Reply Last reply Reply Quote 1
        • Scott Sumner
          Scott Sumner @Jennifer Thompson last edited by

          @Jennifer-Thompson

          Perhaps also you wanna check Settings (menu) -> Preferences… -> Language (box on left) -> Tab Settings box (choose c) then make sure Replace by space is checked? I got the feeling you don’t like tab characters…but maybe I read that wrong.

          Jennifer Thompson 1 Reply Last reply Reply Quote 0
          • Jennifer Thompson
            Jennifer Thompson @Scott Sumner last edited by

            @Scott-Sumner
            My issue is that when I hit Enter, a new line is started indented with tabs to meet the line above. It’s not about tabs, it’s that I am hitting tab. Anyhow, I tried changing the tab default value for C to space. No change. I also tried that with Normal Text but no change. Thanks for trying though I will try anything!

            Scott Sumner 1 Reply Last reply Reply Quote 1
            • Scott Sumner
              Scott Sumner @Jennifer Thompson last edited by

              @Jennifer-Thompson

              Did you try @dail 's suggestion? He didn’t say it explicitly but you want to uncheck the Auto-indent checkbox he pointed you to.

              1 Reply Last reply Reply Quote 0
              • Jennifer Thompson
                Jennifer Thompson @dail last edited by

                @dail THAT DID IT!! Thank you!! @Scott-Sumner I didn’t see his suggestion until after I saw yours. Then I had to wait to post my thanks as I am but a fledgling on here.
                Thanks community!

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