// Auto format
// Open file without overwriting
"workbench.editor.enablePreview": false,
// Close quick Preview
"editor.minimap.enabled": false,
// Turn on autosave
"files.autoSave": "off",
// Use theme
"workbench.colorTheme": "Darcula Theme from IntelliJ",
"prettier.semi": false, // A semicolon
"prettier.singleQuote": true, // Single quotation marks
"prettier.trailingComma": "none", // Remove the comma at the end
// Head note
"fileheader.customMade": {
"Author": "yhy",
"Date": "Do not edit", // After setting, the default setting is file generation time
"LastEditTime": "Do not edit", // After setting , Save the file, change the default update, last edit time
"LastEditors": "yhy", // After setting , Save the file, change the default and update the last editor
"Description": ""
},
// Function Comments
"fileheader.cursorMode": {
"description": "",
"param": "",
"return": ""
},
// Mobile project rem adapter
"px-to-rem.px-per-rem": 100,
// ----------------------- Auto format configuration eslint+prettier-----------------------
// Auto format every save ctrl+s:: Single quotation marks will be formatted as double quotation marks , Need to be commented out
// "editor.formatOnSave": true,
// Press eslint Format for repair
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
// Configuration pair in configuration .vue Format of file
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// Configuration pair in configuration .ts Format of file
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// Configuration pair in configuration .js Format of file
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// Configuration pair in configuration .json Format of file
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}当前位置:网站首页>Vscode auto format
Vscode auto format
2022-07-02 10:15:00 【fengfengyouyou】
边栏推荐
- C language: making barrels
- 2837xd Code Generation - stateflow (4)
- C language programming problems
- Image recognition - Data Acquisition
- Attack and defense world web advanced area unserialize3
- Introduction et prévention des essais de pénétration
- Off grid control of three-phase inverter - PR control
- Remember the use of add method once
- Junit4运行mvn test 测试套件升级方案
- How to handle error logic gracefully
猜你喜欢

Skywalking theory and Practice

Alibaba cloud Prometheus monitoring service

QT qlabel style settings

Save video opencv:: videowriter

Eslint reports an error

2837xd code generation module learning (3) -- IIC, ECAN, SCI, watchdog, ECAP modules

Illusion -- Animation blueprint, state machine production, character walking, running and jumping action

Blender multi lens (multi stand) switching

2837xd 代码生成——StateFlow(3)

Tinyxml2 reading and modifying files
随机推荐
2837xd code generation - stateflow (2)
Image recognition - Data Acquisition
Binary and decimal system of C language
Memories of a chat
UE5——AI追逐(藍圖、行為樹)
C language programming problems
虚幻材质编辑器基础——如何连接一个最基本的材质
Junit5 supports suite methods
2837xd 代碼生成——StateFlow(4)
[unreal] key to open the door blueprint notes
[200 Shengxin literatures] 95 multiomics exploration TNBC
How does {} prevent SQL injection? What is its underlying principle?
Sil/pil test of matlab code generation
This monitoring system makes workers tremble: turnover intention and fishing can be monitored. After the dispute, the product page has 404
虚幻——动画蓝图、状态机制作人物走跑跳动作
2837xd code generation module learning (3) -- IIC, ECAN, SCI, watchdog, ECAP modules
Mixed development of uni app -- Taking wechat applet as an example
ICLR 2022: how does AI recognize "things I haven't seen"?
PI control of three-phase grid connected inverter - off grid mode
2837xd 代码生成——补充(2)