【vscode】自用配置

VSCODE 设置:

基础设置:

{
  //不做guess,保证所有的text是utf-8
  "files.autoGuessEncoding": false,
  //begin 所有的tab用space替换
  "editor.detectIndentation": false,
  "editor.tabSize": 2,
  "editor.insertSpaces": true,
  //end 所有的tab用space替换
  "editor.lineNumbers": "off",
  //"files.autoSave": "afterDelay"
  "editor.formatOnSave": true,
  // copy的时候到jira有用,对markdown
  "editor.copyWithSyntaxHighlighting": false,
  "editor.wordWrap": "on",
  "editor.fontSize": 30,
  "editor.accessibilityPageSize": 20,
  "editor.suggestFontSize": 30,
  "debug.console.fontSize": 30,
  "files.eol": "\n",
  "files.insertFinalNewline": true,
  "files.trimTrailingWhitespace": true,
  // markdown配置
  "[markdown]": {
    "editor.quickSuggestions": {
      "other": true,
      "comments": true,
      "strings": true
    },
    //不依赖其他
    "editor.wordBasedSuggestions": false,
    "editor.snippetSuggestions": "top",
    "editor.defaultFormatter": "DavidAnson.vscode-markdownlint"
  },
  // goalang配置
  "go.formatTool": "goimports",
  "go.useLanguageServer": true,
  //SimonSiefke.prettier-vscode 比esbenp.prettier-vscode 语言多
  // 会自动替换掉shell的,修改一下,一个一个修改,好像不加也有效
  // 并且对shell没有影响
  //"editor.defaultFormatter": "SimonSiefke.prettier-vscode",
  //必须和  lzy\git-tempalte里面的配置一致
  "shellformat.flag": "-ln bash -i 2 -ci",
  "python.defaultInterpreterPath": "C:\\Python37\\python.exe",
  "[json]": {
    "editor.defaultFormatter": "SimonSiefke.prettier-vscode"
  },
  "security.workspace.trust.untrustedFiles": "open",
  "security.workspace.trust.enabled": false,
  "[html]": {
    "editor.defaultFormatter": "SimonSiefke.prettier-vscode"
  },
  "markdownlint.config": {
    "default": true,
    "MD013": false,
    "MD024": false,
    "MD025": false,
    "MD026": false,
    "MD033": false,
    "MD034": false,
    "MD036": false,
    "MD046": false
  },
  "editor.accessibilitySupport": "off",
  // bookmarks
  //自定义的,可以独立升级,并且和precommit用的同一个
  "shellcheck.executablePath": "D:\\tools\\git-tools\\shellcheck",
  "window.zoomLevel": -1,
  "remote.SSH.remotePlatform": {
    "dev": "linux"
  },
  "workbench.editor.enablePreview": false,
  "shellformat.path": "D:\\tools\\git-tools\\shfmt.exe",
  //markdown
  "markdown.extension.orderedList.marker": "one",
  "[dockerfile]": {
    "editor.defaultFormatter": "ms-azuretools.vscode-docker"
  },
  "[javascript]": {
    "editor.defaultFormatter": "SimonSiefke.prettier-vscode"
  },
  "git.openRepositoryInParentFolders": "never",
  "markdownlint.run": "onSave"
}


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值