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
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: