-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Allow custom switch-case indentation in formatting #53733
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
Conversation
@microsoft-github-policy-service agree |
@donaldnevermore thank you! For tests, look at |
2fd128d
to
9a38e22
Compare
Awesome! The only thing left to do here is update the copy of
|
Done. But why are there 2 duplicate |
8faecad
to
d7cbd70
Compare
Looks like you need to update an API baseline again.
protocol.ts is meant to be a standalone definition file for TS Server consumers (VS and VS Code build scripts copy it into their build, I think), so it has some tsserver-specific types and lacks a lot of compiler/LS types, but there is also a little bit of overlap that requires duplication. Probably these days we could find a smarter way to generate it, but nobody has touched it in ages. |
d7cbd70
to
fa45d35
Compare
OK. I noticed that one has |
Backlog
milestone (required)main
branchhereby runtests
locallyAdded a new option
indentSwitchCase
inFormatCodeSettings
.Closes #18682