Multi-line indents do not preserve partial indents #15598
Labels
editor-autoindent
Editor auto indentation issues
feature-request
Request for new features or functionality
Milestone
I'm using VSCode for Clojure editing right now and have been running into this issue a lot. This seems to be a general problem with VSCode's indentation mechanism though, and not a language specific problem. I've also verified that it's reproducible on the latest master build without any extensions or customizations applied.
Steps to Reproduce:
Expected:
Both lines are indented by the standard indentation size of 2 spaces. This is the standard behavior in Atom, as well as most other editors I've worked with:
Actual:
Both lines are indented to the same indentation level, and the partial indent on the second line is discarded:
I tried poking around in the source code a bit but couldn't quite figure out where this functionality lives. If someone could just point me in a general direction, I can try giving it another shot.
The text was updated successfully, but these errors were encountered: