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
@dev-nicolaos yeah i know about this issue although i haven't figured out exactly why does vscode do this, because the html language server is able to understand the <style> blocks in normal html files.
As a workaround, you can bind the command "Emmet: Toggle Comment" to a keyboard shortcut (maybe Ctrl + Shift + /) and use that to comment HTML and/or CSS in a template string.
Environment Observed In
Extension version: v0.3.5
VS Code version: 1.69.1
OS: Windows 11
Steps to reproduce
editor.action.commentLine
) commandctrl+/
Expected Behavior
The editor adds the sequence
/* */
(CSS comment) in place as it does when you execute the same command inside a<style>
tag in an HTML file.Observed Behavior
The editor adds the sequence
<!-- -->
(HTML comment) in place.The text was updated successfully, but these errors were encountered: