zoukankan      html  css  js  c++  java
  • VSCode最佳设置

    最近在学习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 }
  • 相关阅读:
    网络-基础知识
    手机开发-安卓手机的更新换代
    C-基础
    手机开发-IOS
    前端- html 和css
    jmeter接口测试-文件下载
    JDBC接口
    jmeter接口测试实例7-关联
    jmeter接口测试实例6-注册(参数化)
    jmeter接口测试实例5-文件上传
  • 原文地址:https://www.cnblogs.com/zhangwc/p/13093087.html
Copyright © 2011-2022 走看看