Using Stylus Supremacy to format Stylus code, you can comment out single lines with //, but if it includes the selector, i.e. ul > li, the block gets deleted on save. The proper way to comment out "multi-line comments" (look at this https://thisismanta.github.io/stylus-supremacy/#options) is wrapping the code in /**/ as in:
This way it does not get deleted on save.
So, when using toggle line comment in vscode, can you use /**/ in <style lang="stylus"> in code that includes the selector?
/**/ works universally, btw, line or block; never gets deleted.
Problem
Using Stylus Supremacy to format Stylus code, you can comment out single lines with
//
, but if it includes the selector, i.e.ul > li
, the block gets deleted on save. The proper way to comment out "multi-line comments" (look at this https://thisismanta.github.io/stylus-supremacy/#options) is wrapping the code in/**/
as in:This way it does not get deleted on save. So, when using toggle line comment in vscode, can you use
/**/
in<style lang="stylus">
in code that includes the selector?/**/
works universally, btw, line or block; never gets deleted.