VSCode 使用 stylus,高亮显示 配置格式化设置
1、VSCode 扩展商店中搜索 stylus Supremacy 进行安装
2、文件-首选项-搜索“”用户设置” 选择setting.json 配置文件中添加如下配置即可
/ 以下为stylus配置
"stylusSupremacy.insertColons": false, // 是否插入冒号
"stylusSupremacy.insertSemicolons": false, // 是否插入分好
"stylusSupremacy.insertBraces": false, // 是否插入大括号
"stylusSupremacy.insertNewLineAroundImports": false, // import之后是否换行
"stylusSupremacy.insertNewLineAroundBlocks": false, // 两个选择器中是否换行