microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.22k stars 28.55k forks source link

Allow setting invert indent for `editor.wrappingIndent` #169804

Open 1284685832 opened 1 year ago

1284685832 commented 1 year ago

image I noticed that the "wrapping indent" option can be set to the "Indent" option, which will relatively indent the wrapped line to the width of one tabs.Can we add an option to indent the wrapped line to the width of -1 tabs.

Just like this: image

One reason is that this is the layout followed by the Chinese text, as follows: image

A similar request #152755 was made and closed before, and I would like to re-vote on this suggestion.

VSCodeTriageBot commented 2 months ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

lz37 commented 2 months ago

Adding the number type of value representing the number of wrapping indent may be better, i think.

VSCodeTriageBot commented 2 months ago

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!