vscode,保存自动格式化代码

{
  "editor.fontSize": 16,
  "git.autofetch": true,
  "editor.tabSize": 2,
  "editor.detectIndentation": false,
  "[javascript]": {
    "editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
  },
  "javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
  "git.enableSmartCommit": true,
  "git.confirmSync": false,
  "explorer.compactFolders": false,
  "[html]": {
    "editor.defaultFormatter": "vscode.html-language-features"
  },
  "git.ignoreRebaseWarning": true,
  "sync.gist": "9ff6e551e9f82c7d6d6b9b1869fe6835",
  "sync.forceDownload": false,
  "sync.autoUpload": false,
  "sync.autoDownload": false,
  "sync.forceUpload": false,
  "merge-conflict.autoNavigateNextConflict.enabled": true,
  "editor.formatOnSave": true,
  "cSpell.userWords": [
    "Licai",
    "TIFA",
    "rzrq"
  ],
  "vetur.format.defaultFormatterOptions": {
    "js-beautify-html": {
      "wrap_attributes": "force-expand-multiline"
    },
    "prettyhtml": {
      "printWidth": 100,
      "singleQuote": false,
      "wrapAttributes": false,
      "sortAttributes": false
    }
  },
  "editor.suggestSelection": "first",
  "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
  "workbench.iconTheme": "vscode-icons",
  "sync.removeExtensions": false,
  "sync.syncExtensions": false,
  "javascript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false,
  "window.zoomLevel": 1,
  "[vue]": {
    "editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
  },
  "security.workspace.trust.untrustedFiles": "open",
}
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容