轻量级前端框架助力开发者提升项目效率与性能
748
2022-11-15
vscode个性化配置settings.json
C:\Users\Admin\AppData\Roaming\Code\User\settings.json
更新于:2019年06月26日
{ "editor.fontSize": 18, "editor.lineHeight": 24, "workbench.colorTheme": "Monokai", "editor.wordWrap": "on", "editor.detectIndentation": false, "workbench.colorCustomizations": { "editor.selectionBackground": "#135564" }, "workbench.sideBar.location": "left", "gitlens.advanced.messages": { "suppressCommitHasNoPreviousCommitWarning": false, "suppressCommitNotFoundWarning": false, "suppressFileNotUnderSourceControlWarning": false, "suppressGitVersionWarning": false, "suppressLineUncommittedWarning": false, "suppressNoRepositoryWarning": false, "suppressUpdateNotice": true, "suppressWelcomeNotice": true }, "background.enabled": true, "background.useDefault": false, "background.customImages": [ "file:///C:/Users/xiabing/Pictures/photo/huaji.png" ], "background.style": { "position": "absolute", "bottom": 0, "right": 0, "z-index": "999", "width": "150px", "height": "150px", // "width": "100%", // "height": "100%", "background-position": "center", "background-repeat": "no-repeat", "background-size": "65%", "opacity": 0.8 }, //.vue文件代码缩进以及格式化代码 "vetur.validation.template": false, "vetur.format.defaultFormatter.html": "js-beautify-html", "vetur.format.defaultFormatter.js": "vscode-typescript", //让vue中的js按编辑器自带的ts格式进行格式化 "vetur.format.defaultFormatterOptions": { "js-beautify-html": { "wrap_attributes": "force-aligned" //vue组件中html代码格式化样式 } }, "beautify.config": { "brace_style": "none,preserve-inline", "indent_size": 4, "indent_char": " ", "jslint_happy": true, }, // Specifies the location of snippets in the suggestion widget "editor.snippetSuggestions": "top", // Controls whether format on paste is on or off "editor.formatOnPaste": true, "window.zoomLevel": 0, "files.associations": { "*.cjson": "jsonc", "*.wxss": "css", "*.wxs": "javascript" }, "emmet.includeLanguages": { "wxml": "html" }, "editor.minimap.showSlider": "always", //stylus "stylusSupremacy.insertNewLineAroundImports": false, // import之后是否换行 "stylusSupremacy.insertNewLineAroundBlocks": false, // 两个选择器中是否换行 "stylusSupremacy.insertSemicolons": false, //去掉分号 "stylusSupremacy.insertBraces": false, //去掉大括号 "stylusSupremacy.insertColons": false, //去掉冒号 "vetur.format.options.useTabs": true, "vetur.format.options.tabSize": 4, //去掉冒号 "fileheader.customMade": { "Description": "", "Author": "xiabing", "Date": "Do not edit", "LastEditors": "xiabing", "LastEditTime": "Do not edit" }, // 是否开启eslint检测 "eslint.enable": true, // 文件保存时,是否自动根据eslint进行格式化 "eslint.autoFixOnSave": false, "eslint.options": { "plugins": [ "vue" ] }, "eslint.validate": [ "javascript", "javascriptreact", { "language": "vue", "autoFix": true }, { "language": "html", "autoFix": true } ], "editor.mouseWheelZoom": true, "files.autoSaveDelay": 3000, "search.followSymlinks": false, "workbench.iconTheme": "vscode-icons", "[javascript]": { "editor.defaultFormatter": "HookyQR.beautify" }, "[html]": { "editor.defaultFormatter": "HookyQR.beautify" }, "[jsonc]": { "editor.defaultFormatter": "HookyQR.beautify" }, "[json]": { "editor.defaultFormatter": "HookyQR.beautify" }}
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~