Skip to content
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

An shotcut to keep auto indent. #238824

Open
devinjohw opened this issue Jan 27, 2025 · 1 comment
Open

An shotcut to keep auto indent. #238824

devinjohw opened this issue Jan 27, 2025 · 1 comment
Assignees

Comments

@devinjohw
Copy link

Auto indent in VSCode has 5 beheaviors, none, keep, brackets, advanced, full, which can be custimized from the setting: Editor: Auto Indent. Sometimes we want different beheaviors varying context, but I could only use one of these beheavior.

For Example, sometimes I want the keep beheavor when I want to wrap my code with a <div> tag. Currently I have to delete the new line every time this case if I set auto indent to full.

So it's better to have a shortcut to opt-in to different beheaviors.

@albertosantini
Copy link

See also #209805

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants