1. {
  2. "prettier.eslintIntegration": true, // 点击保存时,根据 eslint 规则自定修复,同时集成 prettier 到 eslint 中
  3. "prettier.semi": false, //去掉代码结尾的分号
  4. "prettier.singleQuote": true, //使用带引号替代双引号
  5. "vetur.validation.template": false,
  6. "vetur.format.defaultFormatter.html": "prettyhtml",
  7. "vetur.format.defaultFormatter.js": "prettier-eslint",
  8. "vetur.format.defaultFormatterOptions": {
  9. "prettier": {
  10. "singleQuote": true,
  11. "semi": false
  12. }
  13. },
  14. "eslint.autoFixOnSave": true,
  15. // 为了避免和 eslint 冲突,讲编辑器默认的代码检查规则关闭(如果开启了)
  16. "editor.formatOnSave": false,
  17. // 是否开启eslint检测
  18. "eslint.enable": true,
  19. "tslint.enable": true,
  20. "tslint.autoFixOnSave": true,
  21. "eslint.alwaysShowStatus": true,
  22. "eslint.validate": [
  23. "javascript",
  24. "javascriptreact",
  25. { "language": "vue", "autoFix": true }
  26. ],
  27.  
  28. "path-autocomplete.pathMappings": {
  29. "@": "${folder}/src",
  30. "src": "${folder}/src",
  31. "utils": "${folder}/src/utils",
  32. "services": "${folder}/src/services",
  33. "vuexPath": "${folder}/src/vuex",
  34. "components": "${folder}/src/components",
  35. },
  36.  
  37. "search.followSymlinks": false,
  38. "search.exclude": {
  39. "**/node_modules": true,
  40. "**/bower_components": true,
  41. "**/.cache": true,
  42. "**/.cache-loader": true,
  43. "build/": true,
  44. "temp/": true,
  45. "library/": true,
  46. "**/*.anim": true
  47. },
  48. "files.exclude": {
  49. "**/.git": true,
  50. "**/.DS_Store": true,
  51. "**/*.meta": true,
  52. "library/": true,
  53. "local/": true,
  54. "temp/": true
  55. },
  56. "powermode.enabled": true,
  57. "powermode.presets": "flames",
  58. "editor.tabSize": 2,
  59. "editor.lineHeight": 24,
  60. "editor.renderLineHighlight": "none",
  61. "editor.renderWhitespace": "none",
  62. "editor.fontSize": 14,
  63. "editor.cursorBlinking": "smooth",
  64. "editor.multiCursorModifier": "ctrlCmd",
  65. "editor.formatOnPaste": false,
  66. "editor.snippetSuggestions": "top",
  67. "workbench.colorTheme": "Monokai",
  68. "breadcrumbs.enabled": true,
  69. "workbench.startupEditor": "newUntitledFile",
  70. "files.trimTrailingWhitespace": true,
  71. "files.associations": {
  72. "*.vue": "vue",
  73. "*.html": "html",
  74. "*.wxss": "css",
  75. "*.wxml": "html",
  76. "*.js": "javascript"
  77. },
  78. // 配置emmet是否启用tab展开缩写
  79. // "emmet.triggerExpansionOnTab": true,
  80. // 配置emmet对文件类型的支持,比如vue后缀文件按照html文件来进行emmet扩写
  81. // "emmet.syntaxProfiles": {
  82. // "vue-html": "html",
  83. // "vue": "html",
  84. // "javascript": "javascript",
  85. // // "javascript": "javascriptreact",
  86. // // xml类型文件默认都是单引号,开启对非单引号的emmet识别
  87. // "xml": {
  88. // "attr_quotes": "single"
  89. // }
  90. // },
  91. // 在react的jsx中添加对emmet的支持
  92. // "emmet.includeLanguages": {
  93. // "jsx-sublime-babel-tags": "javascriptreact",
  94. // "javascript”": "javascript",
  95. // "wxml": "html"
  96. // },
  97. "team.showWelcomeMessage": false,
  98. // go
  99. "go.goroot": "/usr/local/go", //默认/usr/local/go
  100. "go.gopath": "/Users/liulu/Documents/work/go_project",
  101. "sync.gist": "262619791ad5e6b8e40f44b193444b5a",
  102. "explorer.confirmDragAndDrop": false,
  103. "javascript.updateImportsOnFileMove.enabled": "never",
  104. "javascript.implicitProjectConfig.experimentalDecorators": true,
  105. "python.pythonPath": "/usr/local/bin/python3.7",
  106. "fileheader.configObj": {
  107. "autoAdd": false, // 默认开启
  108. },
  109. "fileheader.customMade": {
  110. "Description": ""
  111. }, // 头部注释
  112. "fileheader.cursorMode": {
  113. "description": "",
  114. "param": "",
  115. "return": ""
  116. },
  117. "window.zoomLevel": 0,
  118. "editor.minimap.enabled": true,
  119. "files.eol": "\n",
  120. "[javascript]": {
  121. "editor.defaultFormatter": "esbenp.prettier-vscode"
  122. },
  123. "[html]": {
  124. "editor.defaultFormatter": "esbenp.prettier-vscode"
  125. },
  126. "[jsonc]": {
  127. "editor.defaultFormatter": "esbenp.prettier-vscode"
  128. },
  129. "window.title": "${activeEditorLong}${separator}${rootName}",
  130. "[typescript]": {
  131. "editor.defaultFormatter": "esbenp.prettier-vscode"
  132. },
  133. "[json]": {
  134. "editor.defaultFormatter": "esbenp.prettier-vscode"
  135. },
  136. "workbench.iconTheme": null,
  137. "typescript.updateImportsOnFileMove.enabled": "always"
  138. }

  

我的vscode配置 利用Settings Sync一键安装的更多相关文章

  1. VSCode之使用Settings Sync同步配置和插件

    需求背景 自己平常工作,一般在公司用公司的电脑,在家里就是自己的,但是vscode如果配置了新的内容,或者安装了新的插件,那每次都需要单独记录一下然后再重新配置一遍.使用Settings Sync插件 ...

  2. [2018-03-04] 利用 Settings Sync 插件同步 VS Code 设置

    VS Code 已原生支持设置同步,本文仅备份记录 [2018-03-04] 早就听说这个插件了,今天用了一下,确实挺方便的.通过把配置文件创建为 Gist 上来实现了 VS Code 设置的同步,下 ...

  3. 利用 Settings Sync 同步vs code配置

    vs code上有各种各样不同的插件,如果要在不同的电脑上使用 vs code 配置是件比较麻烦的事情,使用 Settings Sync 将 vs code 配置备份起来,当需要在其他电脑使用  vs ...

  4. VsCode配置go环境及插件安装

    在vscode中安装go插件. 安装git. 在%GOPATH%\src\目录下,建立golang.org文件夹,并再新建x文件夹. 目录为 "%GOPATH\src\golang.org\ ...

  5. VSCode 使用Settings Sync同步配置(最新版教程,非常简单)

    VSCode 使用Settings Sync同步配置(最新版教程,非常简单) 之前无意中听到有人说,vsCode最大的缺点就是每次换个电脑或者临时去个新环境,就要配置一下各种插件,好不麻烦,以至于面试 ...

  6. VSCode 使用 Settings Sync 同步配置和插件

    简要说明: Settings Sync插件可以在不同的计算机同步VSCode配置和插件. 安装和配置 在VSCode的插件栏搜索settings sync并安装.在安装完成之后如果需要重新载入就点击重 ...

  7. VSCode使用Settings Sync同步配置和插件

    转载参考地址:https://www.cnblogs.com/zzhaolei/p/12028241.html 1.需求 自己平常工作,一般在公司用公司的电脑,在家里就是自己的,但是vscode如果配 ...

  8. 【教你玩转云计算】在阿里云一键安装快速部署Oracle11g

    云计算时代提供了更方便可靠的IAAS,PAAS和SAAS平台.将已有或正在研发的项目迁移到云计算平台,和传统的服务器部署还是存在一些异同点. 本文手把手教你在阿里云平台快速的部署Oracle11g   ...

  9. VSCode 云同步扩展设置 Settings Sync 插件

    VSCode 云同步扩展设置 Settings Sync 插件 Hi.大家好,今天又是美好的一天. 关于 Settings Sync扩展: Settings Sync可以同步你当前的VSCode配置环 ...

随机推荐

  1. SpringBoot2.0拦截器 与 1.X版本拦截器 的实现

    1.5  版本 先写个拦截器,跟xml配置方式一样,然后将拦截器加入spring容器管理 .接着创建 配置文件类 继承 WebMvcConfigurerAdapter 类,重写父类方法addInter ...

  2. 基于MFC的Media Player播放器的制作(2---导入第三方库和介绍第三方库)

    |   版权声明:本文为博主原创文章,未经博主允许不得转载. 这一节我们介绍如何导入类库,和介绍类库的一功能和介绍MFC的一些主要的模块部分.下面是如何导入类库.第一步我们选中 Media Playe ...

  3. python之正则表达式【re】

    在处理字符串时,经常会有查找符合某些规则的字符串的需求.正则表达式就是用于藐视这些规则的工具.换句话说,正则表达式是记录文本规则的代码. 1.行定位符. 行定位符就是用来表示字符串的边界,“^”表示开 ...

  4. 微信小程序 获取用户信息并保存登录状态

    微信小程序 获取用户信息并保存登录状态:http://www.360doc.com/content/18/0124/11/9200790_724662071.shtml

  5. c# Winform实现发送邮件

    邮件发送类 来源网上 稍作调整...出处忘了 /** * 命名空间: EmailSend * 类 名: EmailSend * * 作者        变更内容            变更日期 * ─ ...

  6. 推荐MarkDown编辑工具Typora--文本画流程图示例

    程序员界名言:talk is cheap, show me the code CODE: ### 8. 修改预留手机号-per.MCReservedMobilePhoneUpd #### 8.1业务规 ...

  7. -k 组合调用执行部分用例

    场景:只执行符合要求的某一部分用例,通过类与方法的命名实 现.通常编写测试方法时 • 解决:使用-k • pytest -k "TestClass and test_one" • ...

  8. python之将Unicode文本标准化

    在需要比较字符串的程序中使用字符的多种表示会产生问题. 为了修正这个问题,你可以使用unicodedata模块先将文本标准化: s1 = 'Spicy Jalape\u00f1o' s2 = 'Spi ...

  9. 微信小程序生命周期、页面生命周期、组件生命周期

    1. 生命周期 App(全局) 位置:项目根目录app.js文件 App({ onLaunch (options) { // console.log('小程序初始化') }, onShow(optio ...

  10. 无法启动此程序 ,因为计算机中丢失MSVCP120.dll

    1.文件丢失问题 无法启动此程序 ,因为计算机中丢失MSVCP120.dll 具体如下图所示: 等dll文件丢失,可以去下载 DirectX修复工具去修复即可 http://www.pc6.com/s ...