VSCode 使用 stylus,高亮顯示 配置格式化設置

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, // 兩個選擇器中是否換行
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章