json vscode settings.json

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json vscode settings.json相关的知识,希望对你有一定的参考价值。

{
  "auto-rename-tag.activationOnLanguage": [
    "*"
  ],
  "css.validate": false,
  "diffEditor.renderSideBySide": false,
  "editor.insertSpaces": true,
  "editor.cursorStyle": "line",
  "editor.tabSize": 2,
  "editor.fontFamily": "FiraCode-Regular, Fantasque Sans Mono, IBMPlexMono, Menlo, Monaco, 'Courier New', monospace",
  "editor.fontSize": 16,
  "editor.lineHeight": 0,
  "editor.fontLigatures": true,
  "editor.minimap.renderCharacters": false,
  "editor.renderIndentGuides": false,
  "editor.scrollBeyondLastLine": false,
  "editor.snippetSuggestions": "top",
  "editor.quickSuggestions": {
    "other": true,
    "comments": false,
    "strings": false
  },
  "editor.tabCompletion": true,
  "editor.wordWrap": "on",
  "editor.autoIndent": true,
  "editor.multiCursorModifier": "ctrlCmd",
  "editor.rulers": [
    80
  ],
  "editor.parameterHints": false,
  "editor.minimap.showSlider": "always",
  "editor.minimap.maxColumn": 80,
  "editor.showFoldingControls": "always",
  "editor.foldingStrategy": "indentation",
  "editor.suggestSelection": "recentlyUsedByPrefix",
  "editor.codeActionsOnSave": {
    "source.organizeImports": false
  },
  "emmet.showSuggestionsAsSnippets": true,
  "emmet.showAbbreviationSuggestions": true,
  "emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "jsx-sublime-babel-tags": "javascriptreact"
  },
  "explorer.sortOrder": "default",
  "extensions.autoUpdate": true,
  "files.autoSave": "afterDelay",
  "files.exclude": {
    "**/.git": true,
    "**/.svn": true,
    "**/.hg": true,
    "**/CVS": true,
    "**/.DS_Store": true,
    "**/__MACOSX": true
  },
  "files.trimTrailingWhitespace": true,
  "files.insertFinalNewline": true,
  "files.associations": {
    "*.js": "javascript",
    "*.mdx": "markdown",
    ".babelrc": "json5",
    "*.atml": "html"
  },
  "git.autofetch": true,
  "gitlens.gitExplorer.enabled": false,
  "gitlens.explorers.avatars": false,
  "gitlens.resultsExplorer.files.compact": false,
  "gitlens.codeLens.scopes": [
    "document",
    "containers",
    "blocks"
  ],
  "gitlens.keymap": "alternate",
  "gitlens.advanced.messages": {
    "suppressCommitHasNoPreviousCommitWarning": false,
    "suppressCommitNotFoundWarning": false,
    "suppressFileNotUnderSourceControlWarning": false,
    "suppressGitVersionWarning": false,
    "suppressLineUncommittedWarning": false,
    "suppressNoRepositoryWarning": false,
    "suppressResultsExplorerNotice": false,
    "suppressShowKeyBindingsNotice": true
  },
  "html.suggest.angular1": false,
  "html.suggest.ionic": false,
  "javascript.implicitProjectConfig.checkJs": false,
  "npm.enableScriptExplorer": true,
  "php.suggest.basic": false,
  "prettier.eslintIntegration": true,
  "telemetry.enableTelemetry": false,
  "telemetry.enableCrashReporter": false,
  "terminal.external.osxExec": "iTerm.app",
  "terminal.integrated.fontSize": 14,
  "projectManager.sortList": "Recent",
  "search.smartCase": true,
  "scss.validate": false,
  "terminal.integrated.shell.osx": "/usr/local/bin/fish",
  "terminal.integrated.scrollback": 8000,
  "typescript.useCodeSnippetsOnMethodSuggest": true,
  "window.restoreWindows": "all",
  "window.restoreFullscreen": true,
  "window.zoomLevel": 0,
  "workbench.colorTheme": "Dracula",
  "workbench.commandPalette.preserveInput": true,
  "workbench.editor.closeOnFileDelete": false,
  "workbench.editor.labelFormat": "short",
  "workbench.fontAliasing": "antialiased",
  "workbench.iconTheme": "material-icon-theme",
  "workbench.panel.defaultLocation": "bottom",
  "workbench.editor.tabSizing": "shrink",
  "workbench.sideBar.location": "right",
  "workbench.startupEditor": "newUntitledFile",
  "workbench.tree.horizontalScrolling": true,
  "gitlens.historyExplorer.enabled": true,
  "eslint.packageManager": "yarn",
  "diffEditor.ignoreTrimWhitespace": false,
  "explorer.confirmDelete": false,
  "javascript.updateImportsOnFileMove.enabled": "never",
  "extensions.showRecommendationsOnlyOnDemand": true,
  "eslint.autoFixOnSave": true,
  "files.autoSaveDelay": 6000,
  "editor.formatOnPaste": true,
  "editor.formatOnSave": true
}

以上是关于json vscode settings.json的主要内容,如果未能解决你的问题,请参考以下文章

json VSCode:settings.json,Python

VSCode无法在Mac上找到settings.json

vscode settings.json文件

vscode settings.json

vscode的settings.json配置

vscode中我的settings.json文件