-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
about the "Format On Save" #211214
Comments
@DeYuanGeGe May I suggest using |
For me it is being formatted into this ⬇️ which seems correct to me
|
Can you update your steps or attach a recording? |
Is it reproducible with all extensions disabled? Looks like issue with Volar extension, as VS Code doesn't support Or you can go for full troubleshooting F1 and |
Please use English, so content would be accessible for devs and other users. |
Type: Bug
I have selected the "Format On Save" in User > Text Editor > Formatting
<style lang="scss"> // .kcool, // .kdark { // .chkimg { // background-color: #999; // } // } </style>my code :
issues - the last code line be comment yet
<style lang="scss"> // .kcool, // .kdark { // .chkimg { // background-color: #999; // } // }</style>when I Ctrl + S save the code ,the code will be change to:
VS Code version: Code 1.88.1 (e170252, 2024-04-10T17:41:02.734Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (8)
A/B Experiments
The text was updated successfully, but these errors were encountered: