-
-
Notifications
You must be signed in to change notification settings - Fork 400
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
Uses {# #} instead of <!-- --> for template comments #1352
Comments
Hi @pheeque1, volar do not provide embedded language comments define, please check if this problem from your other extensions installed. |
Duplicate of #388 |
Well, I checked all existing issues including the linked and my situation is different. The output in the description is from bisect which correctly identified volar as the culprit. When I disable volar, commenting works correctly so maybe a regression makes volar change how comments are defined 🤷🏾 ? It's only a minor annoyance and I guess I can live with wrong comment formatting given how invaluable volar is for other things. |
This is definitely a misunderstanding. 🤦♂️ Try open a .html file and do comment, you should see |
Now I understand better. I trusted bisect a bit too much. I eventually manually narrowed down the offending extension which wasn't volar 🤦🏾♂️ Thanks for the pointer :) |
Thought I'd mention this extension is what was causing this occur for me: Hugo Language and Syntax Support Related issue: theNewDynamic/language-hugo-vscode#26 |
Issue Type: Bug
When you toggle line comments, the extension uses
{# #}
instead of<!-- -->
for commenting code in Vue SFC template tags.Extension version: 0.34.16
VS Code version: Code 1.67.2 (Universal) (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:20:57.384Z)
OS version: Darwin arm64 21.3.0
Restricted Mode: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: