Community
Participate
Working Groups
Build Identifier: M20110909-1335 When adding a tab on a newline, it disapear when you save. This is kind of annoying even if not a real issue. Reproducible: Always Steps to Reproduce: 1. Create an empty main 2. Move the cursor into the bracket 3. Add a tab if none 4. Ctrl+S to save 5. Cursor is back on lines first position
You can change this behavior in the Preferences, C/C++, Editor, Save Actions, untick 'Remove trailing whitespace'.
(In reply to comment #1) > You can change this behavior in the Preferences, C/C++, Editor, Save Actions, > untick 'Remove trailing whitespace'. I did not know about this feature but now, it seems pretty cool. Even then, I still believe that this beahaviour for first tab of a function might be changed (or extra option). It could worth considering it for people who save their file after each line they type ...