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

[Feature Request:] Switch ..{后面按回车,不应该始终缩进 #677

Closed
PythonYunfei opened this issue Jan 26, 2025 · 2 comments
Closed

Comments

@PythonYunfei
Copy link

之前当Switch Alignment设为true时,case会自动和Switch保持对齐,而非缩进。
Image

故希望,当Switch Alignment设置为true时,Swich X { 后面按回车,光标在下一行也将和Swicth保持对齐,而非缩进。

@RaptorX
Copy link
Contributor

RaptorX commented Jan 26, 2025

This is has been reported.

There are 2 types of "switch"... one is a snippet and the other one is the actual command.

The command follows the switch_case_alignment settings.

The snippet doesnt. I reported this already on #653

@thqby
Copy link
Owner

thqby commented Jan 28, 2025

editor.formatOnType is not enabled?

@thqby thqby closed this as not planned Won't fix, can't repro, duplicate, stale Jan 28, 2025
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