vscode常用配置

{
  "editor.suggestSelection": "first",
  "editor.formatOnPaste": true,
  "editor.formatOnSave": true,
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "editor.renderControlCharacters": true,
    "files.autoSave": "onFocusChange",
    "editor.tabSize": 2,
    "editor.minimap.showSlider": "always",
    "editor.detectIndentation": false,
    "gitlens.views.repositories.location": "gitlens",
    "gitlens.views.fileHistory.location": "gitlens",
    "gitlens.views.lineHistory.location": "gitlens",
    "gitlens.views.compare.location": "gitlens",
    "gitlens.views.search.location": "gitlens",
    "workbench.iconTheme": "vs-nomo-dark",
    "editor.wordWrap": "on",
    "files.exclude": {
      "**/.idea": true
    },
    "editor.fontFamily": "Fira Code Retina, Menlo, Monaco, 'Courier New', monospace",
    "workbench.colorTheme": "Better Solarized Light",
    "editor.suggestFontSize": 12,
    "editor.mouseWheelZoom": true,
    "window.dialogStyle": "custom",
    "window.restoreFullscreen": true,
    "projectManager.git.baseFolders": [
      "/Users/liujia50/JDJR"
    ],
    "editor.lineHeight": 18,
    "vsicons.dontShowNewVersionMessage": true,
    "markdown.preview.fontSize": 12,
    "markdown.preview.lineHeight": 1.4,
    "editor.linkedEditing": true,
    "git.confirmSync": false,
    "diffEditor.ignoreTrimWhitespace": false,
    "typescript.tsdk": "",
    "[git-commit]": {
    
      "editor.rulers": [
        72
      ],
      "workbench.editor.restoreViewState": false
    },
    "eslint.validate": [
    
      "html",
      "vue",
      "vue-html",
      "javascript",
      "javascriptreact", 
      "typescript",
      "typescriptreact"
    ],
    "editor.codeActionsOnSave": {
      "source.fixAll.eslint": true,
      "source.fixAll.stylelint": true
    },
    "eslint.run": "onSave",
    "fileheader.customMade": {

       
       // 头部注释
      "Author": "liujia",
      "Date": "Do not edit",
      "LastEditors": "liujia",
      "LastEditTime": "Do not edit",
      "Description": "file content",
      "FilePath": "Do not edit" // 增加此项配置即可
    },
    "fileheader.cursorMode": {
       
       // 函数注释
      "description": "",
      "param": "params",
      "return": ""
    },
    "fileheader.configObj": {
      "autoAdd": false, // 默认开启自动添加头部注释,当文件没有设置头部注释时保存会自动添加
      "autoAlready": true, // 默认开启
      "prohibitAutoAdd": [
        "json",
        "md"
      ], // 禁止.json .md文件,自动添加头部注释
      "wideSame": false, // 设置为true开启
      "wideNum": 13 // 字段长度 默认为13
    },
    "js/ts.implicitProjectConfig.experimentalDecorators": true,
    "eslint.alwaysShowStatus": true,
    "gitlens.gitCommands.skipConfirmations": [
      "fetch:command",
      "stash-push:command",
      "switch:command",
      "push:command"
    ],
    "eslint.autoFixOnSave": true,
    "eslint.format.enable": true,
    "vscode-edge-devtools.mirrorEdits": true,
    "[json]": {
      "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "javascript.updateImportsOnFileMove.enabled": "always"
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值