Skip to content

An shotcut to keep auto indent. #238824

@DevinJohw

Description

@DevinJohw

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.

Metadata

Metadata

Assignees

Labels

editor-autoindentEditor auto indentation issuesfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions