Skip to content

Support custom switch-case indentation for JavaScript #235085

@xmedeko

Description

@xmedeko

Feature request microsoft/TypeScript#18682 and PR #179670 added typescript.format.indentSwitchCase setting, so as it's possible to no-indent case in switch command. Unfortunately, it works for TypeScript only.

Please, add make it work for JavaScript, too. E.g. add some javascript.format.indentSwitchCase setting.

Note: See also #32925 which was originally created for JavaScript, but closed as completed, while in fact it's not completed, because the current implementation is for TypeScript only.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityformattingSource formatter issuesgood first issueIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersjavascriptJavaScript support issuesverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions