When I hit tab in visual studio code, the code gets indented with what seems to be "fake" spaces. If I hit tab on a new line without typing anything on the previously indented line, the spaces on the previous line seem to disappear. Is this fixable?
1 Answer 1
It sounds like the unnecssary (because there is no text on that previous line) is being trimmed automatically. To stop that disable the setting:
Editor: Trim Auto Whitespace
I think that'll result in what you want.
answered Mar 31, 2021 at 17:53
Mark
191k32 gold badges555 silver badges578 bronze badges
Sign up to request clarification or add additional context in comments.