从一开始就使用vscode 的我给大家发一波福利 放出一个实用的vscode配置 (主攻vue)
{ "editor.tabSize": 2, "files.associations": { "*.vue": "vue", "*.wxml": "html" }, "files.autoSave": "off", "background.useDefault": true, "eslint.autoFixOnSave": true, "eslint.options": { "extensions": [ ".js", ".vue" ] }, "search.followSymlinks" :false,//不卡 "eslint.validate": [ "javascript", "javascriptreact", "vue", "vue-html" ], "emmet.syntaxProfiles": { "javascript": "jsx", "vue": "html", "vue-html": "html" }, "window.zoomLevel": 1, "editor.renderWhitespace": "boundary", "workbench.colorTheme": "Monokai", "workbench.iconTheme": null, "beautify.tabSize": 2, "editor.codeLens": true, "editor.snippetSuggestions": "top", "react-native-storybooks.port": 6006, "editor.renderIndentGuides": false, "sublimeTextKeymap.promptV3Features": true, "editor.formatOnPaste": true, "powermode.enabled": true, "powermode.presets": "flames", "guides.normal.color.dark": "rgba(91, 91, 91, 0.6)", "guides.normal.color.light": "rgba(220, 220, 220, 0.7)", "guides.active.color.dark": "rgba(210, 110, 210, 0.6)", "guides.active.color.light": "rgba(200, 100, 100, 0.7)", "guides.active.style": "dashed", "guides.normal.style": "dashed", "guides.stack.style": "dashed", "editor.snippetSuggestions": "top", "gitlens.advanced.messages": { "suppressShowKeyBindingsNotice": true }, "gitlens.historyExplorer.enabled": true, "workbench.statusBar.visible": true, }