vue.jsvisual-studio-codenotepad++vue-sfc

How to change commenting method in SCF by Volar?


I use Volar extension in VS Code to edit SFC files for Vue. Also the Notepad++ Keymap extension is installed.

Everything works as expected, but I don't know how to change the commenting line command (ctrl+q) so it comments correctly in the <style lang="scss"> section.

In the <script> section the command uses correctly the // characters, Idem in <template> where comments with <!-- and -->. But in the <style> section it insists in using <!-- and --> instead of //.

Is there anything to change or should I open an issue?

Thanks for helping! mario


Solution

  • Solved. Disabled extensions Vue and Preview apparently without side effects. Now commenting in the style section works as expected.