-
Notifications
You must be signed in to change notification settings - Fork 28.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
Comments
Something similar: #9409 |
@alexandrudima Would this be tracked as part of #15598 or separate? |
Today, indenting and unindenting always tries to "snap" the text to tab stops. I think we could piggy back on the existing setting |
alexdima
added
feature-request
Request for new features or functionality
editor-contrib
Editor collection of extras
labels
Nov 30, 2016
rebornix
added
editor-autoindent
Editor auto indentation issues
and removed
editor-contrib
Editor collection of extras
labels
May 1, 2017
This works as expected when using |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
editor-autoindent
Editor auto indentation issues
feature-request
Request for new features or functionality
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: