VSCode 常用setiings.json设置
2024-09-05 21:52:01
{
"editor.fontSize": ,
"editor.tabSize": ,
"editor.multiCursorModifier": "ctrlCmd",
"editor.snippetSuggestions": "top",
"editor.wordWrap": "on",
"editor.formatOnSave": true,
"workbench.iconTheme": "vscode-icons",
"workbench.startupEditor": "newUntitledFile",
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true
// "**/node_modules": true
},
"files.associations": {
"*.wxml": "xml",
"*.wxss": "css",
"*.sass": "css",
"*.wpy": "vue",
"*.vue": "vue"
},
"emmet.includeLanguages": {
"vue-html": "html",
"javascript": "javascriptreact",
"postcss": "css"
},
"emmet.triggerExpansionOnTab": true,
"emmet.showSuggestionsAsSnippets": true,
// 禁止 vetur 校验模版
"vetur.validation.template": false,
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "force-expand-multiline"
},
"prettyhtml": {
"printWidth": ,
"singleQuote": false,
"wrapAttributes": false,
"sortAttributes": false
},
"prettier": {
"semi": false,
"singleQuote": true
}
},
"eslint.enable": true,
"eslint.autoFixOnSave": true,
"eslint.validate": [
{
"language": "html",
"autoFix": true
},
{
"language": "javascript",
"autoFix": true
},
{
"language": "javascriptreact",
"autoFix": true
},
{
"language": "vue",
"autoFix": true
}
// "vue"
],
// 配置以下两个,任意打开文件都可以使用ESLint来检查代码风格
// 配置全局 eslint 包地址
// "eslint.nodePath": "F:/devFiles/devToolsSettings/node_modules",
// 配置全局 eslint 配置
// "eslint.options": {
// "configFile": "F:\\devFiles\\devToolsSettings\\.eslintrc.js"
// },
"prettier.singleQuote": true,
"prettier.semi": false,
"prettier.disableLanguages": [
"markdown"
],
"extensions.autoUpdate": false,
"vetur.format.defaultFormatter.html": "none",
"terminal.integrated.shell.windows": "C:\\WINDOWS\\system32\\cmd.exe",
"diffEditor.ignoreTrimWhitespace": true,
// 配React的配置
// emmet关于react的配置
"emmet.syntaxProfiles": {
"JavaScript React": "jsx"
},
"terminal.integrated.rendererType": "dom"
}
最新文章
- 细说ASP.NET Forms身份认证
- SQL Server安全(7/11):使用跨数据库所有权链接(Cross-Database Ownership Chaining)的跨数据库安全
- 精通MVC网站、MVVM开发模式、Razor语法
- 关于cocoa框架,你所要知道的一切(苹果官方文档,cocoa框架核心竞争力,必须收藏!)
- shell算术运算与进制运算
- 查看修改swap空间大小
- VS2010水晶报表的添加与使用
- 【高斯消元】Poj 1222:EXTENDED LIGHTS OUT
- cmd 窗口的复制粘贴
- R语言基因组数据分析可能会用到的data.table函数整理
- 2238";回文字串";报告
- Java第三次上课课堂试验博文
- JDBC中的ResultSet无法多次循环的问题。
- JavaScript中对象数组,如何给对象添加一个新属性
- JDK8新特性:default方法的应用实践
- 『cs231n』通过代码理解风格迁移
- MySQL学习笔记:循环生成5万行id连续的数据
- KEYENCE Programming Contest 2019 Solution
- hdu - 6281,2018CCPC湖南全国邀请赛F题,快排
- Eclipse 重构功能的使用与重构快捷键