vs code配置
{"git.ignoreMissingGitWarning": true,// "files.associations": {"*.vue":"html"},"files.associations": {"*.vue": "html","*.js": "html"},"css.validate": false,...
·
{
"git.ignoreMissingGitWarning": true,
// "files.associations": {"*.vue":"html"},
"files.associations": {
"*.vue": "html",
"*.js": "html"
},
"css.validate": false,
"editor.fontSize": 14,
"beautify.language": {
"js": {
"type": ["javascript", "json"],
"filename": [".jshintrc", ".jsbeautify"]
},
"css": ["css", "scss", "less", "stylus"],
"html": ["htm", "html", "vue"],
"editor.formatOneSave": true
},
"view-in-browser.customBrowser": "chrome",
"javascript.implicitProjectConfig.experimentalDecorators": true,
"editor.tabSize": 2,
"liveServer.settings.port": 0,
"javascript.updateImportsOnFileMove.enabled": "always",
"search.followSymlinks": false,
// 以下为stylus配置
"stylusSupremacy.insertColons": false, // 是否插入冒号
"stylusSupremacy.insertSemicolons": false, // 是否插入分好
"stylusSupremacy.insertBraces": false, // 是否插入大括号
"stylusSupremacy.insertNewLineAroundImports": true, // import之后是否换行
"stylusSupremacy.insertNewLineAroundBlocks": false, // 两个选择器中是否换行
"languageStylus.useSeparator": true,
"languageStylus.useBuiltinFunctions": true,
"editor.colorDecorators": true,
"[javascript]": {
// "editor.formatOneSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// 控制是否在搜索中跟踪符号链接。解决VSCode启动后CPU高占用问题
"search.followSymlinks": false,
// tab锁紧
"editor.tabSize": 2,
"[vue]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[less]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"bookmarks.navigateThroughAllFiles": true,
"bookmarks.wrapNavigation": true,
"bookmarks.showCommandsInContextMenu": true,
"bookmarks.useWorkaroundForFormatters": true,
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"diffEditor.ignoreTrimWhitespace": true,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"vsicons.dontShowNewVersionMessage": true,
"[scss]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.iconTheme": "vscode-icons"
}
开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!
更多推荐
已为社区贡献1条内容
所有评论(0)