You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support custom switch-case indentation for JavaScript #235085
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.
Reacted by Max Curzi, a-pav, samuelpwlim, JanHrebik, Mi-La, Miki, Ondrej Medek, Yuan-Ming Hsu, mlovegren-nr, Richard Fritsch and 13 more
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.
This bug has been fixed in the latest release of VS Code Insiders!
Ondrej Medek (@xmedeko), you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version a1fc8c1 of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
Activity
vs-code-engineering commentedon Dec 3, 2024
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!
samuelpwlim commentedon Dec 7, 2024
Hi, would I be able to try out this issue?
akhilk2802 commentedon Dec 15, 2024
I want to work on this
karuna-jain commentedon Dec 24, 2024
I want to work on it
1 remaining item
ahnaf1524 commentedon Jan 4, 2025
I am new
xmedeko commentedon Jan 17, 2025
Thanks for the fix, works well in Insider build, looking forward for the release.
/verified
vs-code-engineering commentedon Jan 28, 2025
This bug has been fixed in the latest release of VS Code Insiders!
Ondrej Medek (@xmedeko), you can help us out by commenting
/verifiedif things are now working as expected.If things still don't seem right, please ensure you're on version a1fc8c1 of Insiders (today's or later - you can use
Help: Aboutin the command palette to check), and leave a comment letting us know what isn't working as expected.Happy Coding!
xmedeko commentedon Jan 28, 2025
/verified With the Insider build 2 weeks ago, see my previous post.