随笔 - 36  文章 - 0  评论 - 62  阅读 - 97218 

最近在学习Vue,用VSCode开发。经过摸索,VSCode最佳设置。

复制代码
 1 {
 2     "eslint.enable": false,
 3     "workbench.colorTheme": "One Dark Pro",
 4     "vetur.format.options.tabSize": 2,
 5     "vetur.format.options.useTabs": true,
 6     "vetur.format.defaultFormatter.html": "js-beautify-html",
 7     "vetur.format.defaultFormatterOptions": {
 8         "js-beautify-html": {
 9             "wrap_attributes": false
10         },
11         "prettier": {
12             "semi": false, //不加分号false
13             "singleQuote": true //用单引号true
14         }
15     },
16     //推荐配置
17     "html.format.wrapAttributes": "preserve",
18     "window.zoomLevel": 0.6, //窗口缩放
19     "files.autoSave": "off",
20     "workbench.editor.enablePreview": false,
21     "workbench.startupEditor": "newUntitledFile",
22     "workbench.activityBar.visible": true,
23     "editor.tabSize": 2,
24     "editor.wordWrap": "on", //软换行
25     "editor.renderWhitespace": "boundary",
26     "editor.cursorBlinking": "smooth",
27     "editor.minimap.renderCharacters": false,
28     "editor.fontLigatures": true,
29     "editor.largeFileOptimizations": false,
30     "editor.quickSuggestions": {
31         "strings": true
32     },
33     "explorer.confirmDragAndDrop": true,
34     "explorer.confirmDelete": false,
35     "extensions.autoUpdate": false,
36     "breadcrumbs.enabled": true,
37     "window.titleBarStyle": "custom",
38     "window.title": "${dirty}${activeEditorMedium}${separator}${rootName}",
39     "eslint.validate": [
40         "javascript",
41         "vue"
42     ],
43     "eslint.options": {
44         "plugins": [
45             "html"
46         ]
47     },
48     "git.autorefresh": false,
49     "search.followSymlinks": false,
50     "workbench.sideBar.location": "left",
51 }
复制代码

 

posted on   小熊吉米  阅读(1534)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示