vscode setting.json

setting.json

{
  "sync.gist": "#github的码##",
  "sync.lastUpload": "2018-08-26T06:45:07.435Z",
  "sync.autoDownload": false,
  "sync.autoUpload": false,
  "sync.lastDownload": "2018-05-15T06:30:38.965Z",
  "sync.forceDownload": false,
  "sync.host": "",
  "sync.pathPrefix": "",
  "sync.quietSync": false,
  "sync.askGistName": false,
  "sync.removeExtensions": true,
  "sync.syncExtensions": true,
  "editor.fontSize": 16,
  "workbench.colorTheme": "Dracula Soft",
  "view-in-browser.customBrowser": "chrome",
  "explorer.confirmDragAndDrop": false,
  "explorer.confirmDelete": false,
  "[vue]": {},
  "background.useDefault": false,
  "background.customImages": [
    "file:///D:/bg1.jpg",
    "file:///D:/bg2.jpg",
    "file:///D:/bg3.jpg"
  ],
  "background.style": {
    "content": "‘‘",
    "pointer-events": "none",
    "position": "absolute",
    "z-index": "99999",
    "width": "100%",
    "height": "100%",
    "background-color": "#282A36",
    "background-position": "100% 100%",
    "background-repeat": "no-repeat",
    "opacity": 0.9
  },
  "background.useFront": false,
  "window.zoomLevel": 0,
  "search.location": "sidebar",
  "workbench.activityBar.visible": true,
  "window.menuBarVisibility": "toggle",
  "search.exclude": {
    "**/node_modules": true,
    "**/dist": true,
    "**/bower_components": true
  },
  "terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
  "git.ignoredRepositories": [
    "https://github.com/iview/iview-admin"
  ],
  "git.checkoutType": "local",
  "git.autoRepositoryDetection": false,
  "git.autorefresh": false,
  "editor.detectIndentation": false,
  "editor.formatOnSave": true,
  "eslint.autoFixOnSave": true,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    {
      "language": "vue",
      "autoFix": true
    }
  ],
  "prettier.eslintIntegration": true,
  "prettier.semi": false,
  "prettier.singleQuote": true,
  "javascript.format.insertSpaceBeforeFunctionParenthesis": true,
  "vetur.format.defaultFormatter.js": "vscode-typescript",
  "vetur.format.defaultFormatterOptions": {
    "js-beautify-html": {
      "wrap_attributes": "force-aligned"
    },
    "prettyhtml": {
      "printWidth": 100,
      "singleQuote": false
    }
  },
  "editor.tabSize": 2,
  "todo-tree.defaultHighlight": {
    "foreground": "green",
    "type": "none"
  },
  "todo-tree.customHighlight": {
    "TODO": {},
    "FIXME": {}
  },
  "workbench.iconTheme": "vscode-icons",
  "git.autofetch": true,
  "git.enableSmartCommit": true,
  "git.confirmSync": false,
  "vetur.validation.template": false,
  "vetur.format.defaultFormatter.html": "js-beautify-html"
  // "terminal.integrated.shell.windows": "D:\\cmder\\Cmder.exe"
}

我以前不好用的 但是颜色比较喜欢的黑色的

{
    "window.zoomLevel": 2,
    "workbench.iconTheme": "vscode-icons",
    "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
    "editor.tabSize": 2,
    "vetur.validation.template": false,
    "vetur.format.defaultFormatter.js": "vscode-typescript",
    "[vue]": {},
    "emmet.includeLanguages": {
        "vue": "html",
        "vue-html": "html"
    },
    "files.associations": {
        "*.vue": "html"
    },
    "editor.quickSuggestions": {
        "other": true,
        "comments": true,
        "strings": true
    },

    //配置eslint
    "eslint.autoFixOnSave": true,
    "files.autoSave": "off",
    "eslint.validate": [
        "javascript",
        "javascriptreact",
        "html",
        {
            "language": "vue",
            "autoFix": true
        }
    ],
    "eslint.options": {
        "plugins": ["html"]
    },
    "search.exclude": {
        "**/node_modules": true,
        "**/bower_components": true,
        "**/dist": true
      }

}

原文地址:https://www.cnblogs.com/pengchenggang/p/10345791.html

时间: 2024-11-05 16:01:19

vscode setting.json的相关文章

eslint的setting.json配置

vscode中eslint的setting.json配置,如下: { "workbench.editor.enablePreview": false, //打开文件不覆盖 "search.followSymlinks": false, //关闭rg.exe进程 "editor.minimap.enabled": false, //关闭快速预览 "liveServer.settings.donotShowInfoMsg": tr

40 VSCode下.json文件的编写

0 引言 转入linux/VSCode编程之后,迫切了解到有必有较为系统地学习一下VSCode中相关配置文件的写法.下面将分为 linux/g++编译指令..json文件关键词/替换变量的意义.编译链接过程原理分析几个部分进行介绍,并以opencv为例,将上述知识综合运用. 1 linux/g++编译指令介绍 参照BattleScars的博客,摘取其中对本文有用的部分进行运用,博客链接如下,质量非常之高,表示感谢!!! https://www.cnblogs.com/battlescars/p/

同步vscode的setting.json和extensions

vc 详情 $ npm i -g vscode-config $ vc config --token <your github token> $ vc config --id <your gist id> $ vc push 拉取 $ vc pull 原文地址:https://www.cnblogs.com/ajanuw/p/12287786.html

VSCode tasks.json中的各种替换变量的意思 ${workspaceFolder} ${file} ${fileBasename} ${fileDirname}等

When authoring tasks configurations, it is often useful to have a set of predefined common variables. VS Code supports variable substitution inside strings in the tasks.json file and has the following predefined variables: ${workspaceFolder} the path

vscode settings.json

// 快捷键设置 keyiing.json // 将键绑定放入此文件中以覆盖默认值 [ /* // 转换大写 { "key" : "ctrl+shift+u", "command" : "editor.action.transformToUppercase", "when" : "editorTextFocus" }, // 转换小写 { "key" : "

vscode settings.json文件

{ "editor.tabSize": 2, "workbench.iconTheme": "vscode-icons", "editor.suggestSelection": "first", "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", &q

vscode setting.jsonxx

// Place your settings in this file to overwrite the default settings { "files.autoGuessEncoding": true, "files.associations": { "*.wxss": "css", "*.wxml": "html" }, "emmet.syntaxProfiles&qu

HBuilder X 提示Setting.json格式语法错误

因为操作了复制文件,粘贴到另外一个文件夹,并运行.导致HBuilder X 报错关闭.提示是这样的 : 然后我打开了HBuilder X 中的设置,源码视图,看到weApp.devTools.path的设置是这样的:"C:/Program Files (x86)/Tencent/微信web开发者工具"C://Program Files (x86)//Tencent//微信web开发者工具//微信开发者工具.exe/"",这里的路径重复了.将后面重复的路径删除,再保存

vscode c_cpp_properties setting

vscode c_cpp_properties setting C/C++ 插件用户工程项目配置 .vscode/c_cpp_properties.json 增加如下内容: { "version": 4, "configurations": [ { "name": "mingw-w64-x86_64", "intelliSenseMode": "gcc-x64", "defin