// 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】
边栏推荐
- 2837xd code generation module learning (2) -- ADC, epwm module, timer0
- Bugkuctf-web16 (backup is a good habit)
- [ue5] blueprint making simple mine tutorial
- 2837xd 代碼生成——StateFlow(4)
- Image recognition - data annotation
- Because of hard work, the fruit goes with fate
- QT qlabel style settings
- Project practice, redis cluster technology learning (VIII)
- 【UE5】AI随机漫游蓝图两种实现方法(角色蓝图、行为树)
- What wires are suitable for wiring on bread board?
猜你喜欢
Inverter Simulink model -- processor in the loop test (PIL)
阿里云短信服务
[ue5] two implementation methods of AI random roaming blueprint (role blueprint and behavior tree)
2837xd 代碼生成——補充(1)
2837xd code generation - stateflow (2)
2837xd code generation module learning (1) -- GPIO module
How to judge the quality of primary market projects when the market is depressed?
[unreal] key to open the door blueprint notes
The latest progress and development trend of 2022 intelligent voice technology
ue4材质的入门和原理笔记
随机推荐
Project practice, redis cluster technology learning (16)
[ue5] two implementation methods of AI random roaming blueprint (role blueprint and behavior tree)
2837xd 代碼生成——補充(1)
2837xd code generation - stateflow (4)
Error reporting on the first day of work (incomplete awvs unloading)
Int to string, int to qstring
[200 Shengxin literatures] 95 multiomics exploration TNBC
How to handle error logic gracefully
Introduction and prevention of penetration test
2837xd code generation - Supplement (1)
Vscode set JSON file to format automatically after saving
UE5——AI追逐(藍圖、行為樹)
Data insertion in C language
[unreal] key to open the door blueprint notes
Binary and decimal system of C language
Bugkuctf-web24 (problem solving ideas and steps)
What wires are suitable for wiring on bread board?
阿里云Prometheus监控服务
Cmake command - Official Document
Ckeditor 4.10.1 upload pictures to prompt "incorrect server response" problem solution