Summary of common plugins for VScode (continuously updated)
Chinese (Simplified) (Simplified Chinese)
translate to Chinese
Easy LESS
Automatically generate css or wxss files after writing less files.
How to use: Add the following configuration information in the settings.json file.
// Easy LESS配置
"less.compile": {
"compress": false,//是否压缩
"sourceMap": false,//是否生成map文件,有了这个可以在调试台看到less行数
"out": true, // 是否输出css文件,false为不输出,千万不要是false
"outExt": ".wxss", // 输出文件的后缀,小程序可以写'.wxss'
// "outExt": ".css", // 输出文件的后缀,小程序可以写'.css'
}
Turbo Console Log
Quickly add console.log, comment/enable/delete all console.log with one click. This is also one of my most used plugins
ctrl + alt + l After selecting the variable, use this shortcut key to generate console.log
alt + shift + c (Windows) or option + shift + c (Mac) comment all console.log
alt + shift + u (Windows) or option + shift + u (Mac) enable all console.log
alt + shift + d (Windows) or option + shift + d (Mac) delete all console.log