vscode配置

{

  "editor.tabSize": 2,

  "files.autoSave": "off",

  "editor.fontSize": 15,

  "workbench.activityBar.visible": true,

  "window.zoomLevel": 0,

  "files.exclude": {

    "**/.git": true,

    "**/.svn": true,

    "**/.hg": true,

    "**/CVS": true,

    "**/.DS_Store": true,

    "**/.vscode": true,

    "**/.gitignore": false,

    "**/.idea": true,

    "**/node_modules": false

  },

  "editor.multiCursorModifier": "alt",

  "workbench.statusBar.visible": true,

  "workbench.editor.enablePreview": false,

  "editor.wordWrap": "on",

  "liveServer.settings.port": 8088,

  "beautify.language": {

    "js": {

      "type": ["javascript", "json"],

      "filename": [".jshintrc", ".jsbeautify"]

    },

    "css": ["css", "less"],

    "html": ["htm", "html"]

  },

  "editor.quickSuggestions": {

    "other": true,

    "comments": false,

    "strings": true

  },

  "path-autocomplete.extensionOnImport": true,

  "editor.renderIndentGuides": true,

  "workbench.colorCustomizations": {

    "editor.selectionBackground": "#555555"

  },

  "editor.quickSuggestionsDelay": 0,

  "editor.suggestOnTriggerCharacters": true,

  "editor.acceptSuggestionOnCommitCharacter": false,

  "editor.acceptSuggestionOnEnter": "off",

  "editor.snippetSuggestions": "top",

  "editor.wordBasedSuggestions": false,

  "markdown.preview.markEditorSelection": false,

  "editor.fontFamily": "consolas, Monaco",

  // "markdown.enableExperimentalExtensionApi": true,

  "emmet.syntaxProfiles": {

    "vue-html": "html",

    "vue": "html",

    "wxml": "html"

  },

  "files.associations": {

    "*.wxss": "css",

    "*.cjson": "jsonc",

    "*.wxs": "javascript"

  },

  "emmet.includeLanguages": {

    "vue-html": "html",

    "vue": "html",

    "wxml": "html",

    "javascript": "javascriptreact"

  },

  "emmet.triggerExpansionOnTab": true,

  "prettier.tabWidth": 2,

  "vetur.format.defaultFormatter.html": "js-beautify-html",

  "search.followSymlinks": false,

  "git.ignoreMissingGitWarning": true,

  "workbench.sideBar.location": "right",

  "explorer.confirmDelete": false,

  "explorer.confirmDragAndDrop": false,

  "minapp-vscode.disableAutoConfig": true,

  // 配置rem

  "cssrem.rootFontSize": 37.5,

  "cssrem.fixedDigits": 3,

  // 配置全局搜索

  "search.exclude": {

    "system/": true,

    "!/system/**/*.ps*": true

  },

  "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",

  "workbench.colorTheme": "One Dark Pro",

  "[javascriptreact]": {

    "editor.defaultFormatter": "vscode.typescript-language-features"

  },

  "javascript.implicitProjectConfig.experimentalDecorators": true,

  "[typescriptreact]": {

    "editor.defaultFormatter": "vscode.typescript-language-features"

  },

  "[less]": {

    "editor.defaultFormatter": "HookyQR.beautify"

  },

  "[html]": {

    "editor.defaultFormatter": "esbenp.prettier-vscode"

  },

  "[javascript]": {

    "editor.defaultFormatter": "vscode.typescript-language-features"

  },

  "diffEditor.renderSideBySide": false,

  "editor.formatOnSave": true,

  "[typescript]": {

    "editor.defaultFormatter": "vscode.typescript-language-features"

  },

  "eslint.validate": [

    "javascript",

    "javascriptreact",

    "typescript",

    "typescriptreact"

  ],

  "editor.codeActionsOnSave": {

    "source.fixAll.eslint": true

  },

  "eslint.codeAction.showDocumentation": {

    "enable": true

  },

  "eslint.format.enable": true,

  "eslint.probe": [

    "javascript",

    "javascriptreact",

    "typescript",

    "typescriptreact",

    "html",

    "vue",

    "markdown"

  ]

}

你可能感兴趣的:(vscode配置)