User Settings:

一,当前行高亮显示:

  1. "editor.renderLineHighlight": "line",

二,如何呈现空白字符(一般选none,这样会比较清爽)

  1. "editor.renderWhitespace": "none"

  1. "editor.renderWhitespace": "all"

三,窗口失去焦点自动保存

  1. "files.autoSave": "onFocusChange",

四,通过使用鼠标滚轮同时按住 Ctrl 可缩放编辑器的字体

  1. "editor.mouseWheelZoom": true,

五,图标的显示

  1. "workbench.iconTheme": "vscode-great-icons",

六,主题色(这里选择了"Solarized Dark")

  1. "workbench.colorTheme": "Default Dark+"

七,打开新窗口的页面(建议用“newUntitledFile”)

  1. "workbench.startupEditor": "newUntitledFile",
 

  1. "workbench.startupEditor": "welcomePage",
  1. {
  2. "workbench.colorTheme": "Solarized Dark",
  3. "editor.quickSuggestions": {
  4. "strings": true
  5. },
  6. "workbench.settings.editor": "json",
  7. //文件搜索区域配置
  8. "search.exclude": {
  9. "**/node_modules": false,
  10. "**/bower_components": true,
  11. "**/dist":true,
  12. "**/build":true,
  13. "**/elehukouben":true,
  14. "**/.git":true,
  15. "**/.gitignore":true,
  16. "**/.svn":true,
  17. "**/.DS_Store":true,
  18. "**/.idea":true,
  19. "**/.vscode":false,
  20. "**/yarn.lock":true,
  21. "**/tmp":true
  22. },
  23. //配置emmet是否启用tab展开缩写
  24. "emmet.triggerExpansionOnTab": true,
  25. //配置emmet对文件类型的支持,比如vue后缀文件按照html文件来进行emmet扩写
  26. "emmet.syntaxProfiles": {
  27. "vue-html":"html",
  28. "vue":"html",
  29. "javascript":"javascriptreact",
  30. // xml类型文件默认都是单引号,开启对非单引号的emmet识别
  31. "xml":{
  32. "attr_quotes":"single"
  33. }
  34. },
  35. "editor.tabSize": 2,
  36. "extensions.autoUpdate": false,
  37. // 行太长自动换行
  38. "editor.wordWrap": "on",
  39. "editor.lineHeight": 24,
  40. "editor.cursorBlinking": "smooth",
  41. //Ctrl+Shift+V:粘贴并格式化
  42. "editor.formatOnPaste": true,
  43. // 窗口失去焦点自动保存
  44. "files.autoSave": "onFocusChange",
  45. //通过使用鼠标滚轮同时按住 Ctrl 可缩放编辑器的字体
  46. "editor.mouseWheelZoom": true,
  47. "editor.snippetSuggestions": "inline",
  48. "workbench.iconTheme": "vscode-great-icons",
  49. //New Window,打开untitled-1
  50. "workbench.startupEditor": "newUntitledFile",
  51. //将在保存文件时修剪尾随空白
  52. "files.trimTrailingWhitespace": true,
  53. "vetur.format.defaultFormatter.html": "js-beautify-html",
  54. "files.associations": {
  55. "*.vue":"vue",
  56. "*.wxss":"css"
  57. },
  58. //在react的jsx中添加对emmet的支持
  59. "emmet.includeLanguages": {
  60. "jsx-sublime-babel-tags":"javascriptreact"
  61. },
  62. //是否开启eslint检测
  63. "eslint.enable": true,
  64. //文件保存时,是否自动根据eslint进行格式化
  65. "eslint.autoFixOnSave": true,
  66. //eslint配置文件
  67. "eslint.options": {
  68. "plugins":[
  69. "html",
  70. "javascript",
  71. {
  72. "language":"vue",
  73. "autoFix":true
  74. },
  75. "vue"
  76. ]
  77. },
  78. //eslint能够识别的文件后缀类型
  79. "eslint.validate": [
  80. "javascript",
  81. "javascriptreact",
  82. "html",
  83. "vue",
  84. "typescript",
  85. "typescriptreact"
  86. ],
  87. }

vsCode_1.27.2的更多相关文章

  1. CSharpGL(27)讲讲清楚OpenGL坐标变换

    CSharpGL(27)讲讲清楚OpenGL坐标变换 在理解OpenGL的坐标变换问题的路上,有好几个难点和易错点.且OpenGL秉持着程序难以调试.难点互相纠缠的特色,更让人迷惑.本文依序整理出关于 ...

  2. Amazon Interview | Set 27

    Amazon Interview | Set 27 Hi, I was recently interviewed for SDE1 position for Amazon and got select ...

  3. CentOS7 编译安装LVS 互为主备 (实测 笔记 Centos 7.0 + ipvsadm 1.27 + keepalived 1.2.15 )

    环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡) LVS服务器(两台): 系统:Centos7.0 64位(LVS+keepalived) LvsMaster:1 ...

  4. ORA-12899: value too large for column (actual: 27, maximum: 20)

    导入数据时报错以下错误,这是因为原来的数据库是GBK的,每个汉字两个字节,但新数据库是UTF-8的,每个汉字是三个字节,导致超过长度了. ORA-12899: value too large for ...

  5. 背水一战 Windows 10 (27) - 控件(文本类): TextBlock

    [源码下载] 背水一战 Windows 10 (27) - 控件(文本类): TextBlock 作者:webabcd 介绍背水一战 Windows 10 之 控件(文本类) TextBlock 示例 ...

  6. Internet Download Manager 6.27.1 中文特别版(IDM)

    软件介绍: 软件名称:Internet Download Manager(IDM) 软件大小:5.09M软件语言:简体中文 软件官网:http://www.internetdownloadmanage ...

  7. CentOS6.3 编译安装LAMP(4):编译安装 PHP5.3.27

    所需源码包: /usr/local/src/PHP-5.3.27/libmcrypt-2.5.8.tar.gz /usr/local/src/PHP-5.3.27/mhash-0.9.9.9.tar. ...

  8. NYOJ题目27水池数目

    --------------------------------------------- 这道题有点坑,也怪我总是有点马虎,按照正常人的思维0是表示有水池啊竟然是1表示有水池,最坑的是写反了竟然还能 ...

  9. 腾讯QQ认证空间4月27日已全面开放申请,欲进军自媒体

    今天看到卢松松的博客上爆出,腾讯QQ认证空间4月27日已全面开放申请的消息,这一消息出来, 马浩周根据提示方法进行申请,下面先说说腾讯QQ认证空间的申请方法: QQ认证空间开放申请公告地址:http: ...

随机推荐

  1. Linux目录和文件管理

    今天我们来介绍一下对于Linux系统“命令“的理解和分类以及常用的目录文件管理命令的使用. 一. 命令 用于实现某一类功能的指令或程序,命令的执行依赖于解释器程序(例如:/bin/bash) 分类 内 ...

  2. OpenGL 遮挡查询

    原文地址:http://www.linuxidc.com/Linux/2015-02/114036.htm 在一个场景中,如果有有些物体被其他物体遮住了不可见.那么我们就不需要绘制它.在复杂的场景中, ...

  3. windows 找不到文件'igfxHK.exe'

    现象:开机时windows报:windows 找不到文件'igfxHK.exe' 解决办法:win+r  输入services.msc  进入服务管理, 找到服务名称为: Intel(R) HD Gr ...

  4. Spring Boot 添加JSP支持【转】

    Spring Boot 添加JSP支持 大体步骤: (1)            创建Maven web project: (2)            在pom.xml文件添加依赖: (3)     ...

  5. Java学习之——泛型

    1.概要 generics enable types (classes and interfaces) to be parameters when defining classes, interfac ...

  6. 快速排查SQL服务器阻塞语句

    SELECT*FROM sys.sysprocesses and blocked> --可以查看阻塞 SELECT SPID=p.spid, DBName =convert(CHAR(),d.n ...

  7. nginx: [emerg] getpwnam(“www”) failed错误

    linux 64系统中安装nginx时如果出现错误:nginx: [emerg] getpwnam(“www”) failed in ........解决方法1:      在nginx.conf中 ...

  8. 【scala】 scala 基础(一)

    至于什么是scala,摘录一段 维基百科的解释: scala 下载 安装 省略 1.环境变量配置完成后 命令行报错,因为scala 的安装路径里边包含空格 修改后即可.由于我的本地包含空格,此处CLI ...

  9. 笔记--Wcf全面解析(上)---(1)

    using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using ...

  10. Disruptor LMAX学习

    http://lmax-exchange.github.io/disruptor/ http://bruce008.iteye.com/blog/1408075 http://code.google. ...