我的vscode配置 利用Settings Sync一键安装

{"prettier.eslintIntegration": true, // 点击保存时,根据 eslint 规则自定修复,同时集成 prettier 到 eslint 中"prettier.semi": false, //去掉代码结尾的分号"prettier.singleQuote": true, //使用带引号替代双引号"vetur.validation.template": false,"vetur.format.defaultFormatter.html": "prettyhtml","vetur.format.defaultFormatter.js": "prettier-eslint","vetur.format.defaultFormatterOptions": {"prettier": {"singleQuote": true,"semi": false}},"eslint.autoFixOnSave": true,// 为了避免和 eslint 冲突,讲编辑器默认的代码检查规则关闭(如果开启了)"editor.formatOnSave": false,// 是否开启eslint检测"eslint.enable": true,"tslint.enable": true,"tslint.autoFixOnSave": true,"eslint.alwaysShowStatus": true,"eslint.validate": ["javascript","javascriptreact",{ "language": "vue", "autoFix": true }],"path-autocomplete.pathMappings": {"@": "${folder}/src","src": "${folder}/src","utils": "${folder}/src/utils","services": "${folder}/src/services","vuexPath": "${folder}/src/vuex","components": "${folder}/src/components",},"search.followSymlinks": false,"search.exclude": {"**/node_modules": true,"**/bower_components": true,"**/.cache": true,"**/.cache-loader": true,"build/": true,"temp/": true,"library/": true,"**/*.anim": true},"files.exclude": {"**/.git": true,"**/.DS_Store": true,"**/*.meta": true,"library/": true,"local/": true,"temp/": true},"powermode.enabled": true,"powermode.presets": "flames","editor.tabSize": 2,"editor.lineHeight": 24,"editor.renderLineHighlight": "none","editor.renderWhitespace": "none","editor.fontSize": 14,"editor.cursorBlinking": "smooth","editor.multiCursorModifier": "ctrlCmd","editor.formatOnPaste": false,"editor.snippetSuggestions": "top","workbench.colorTheme": "Monokai","breadcrumbs.enabled": true,"workbench.startupEditor": "newUntitledFile","files.trimTrailingWhitespace": true,"files.associations": {"*.vue": "vue","*.html": "html","*.wxss": "css","*.wxml": "html","*.js": "javascript"},// 配置emmet是否启用tab展开缩写// "emmet.triggerExpansionOnTab": true,// 配置emmet对文件类型的支持,比如vue后缀文件按照html文件来进行emmet扩写// "emmet.syntaxProfiles": {//   "vue-html": "html",//   "vue": "html",//   "javascript": "javascript",//   // "javascript": "javascriptreact",//   // xml类型文件默认都是单引号,开启对非单引号的emmet识别//   "xml": {//     "attr_quotes": "single"//   }// },// 在react的jsx中添加对emmet的支持// "emmet.includeLanguages": {//   "jsx-sublime-babel-tags": "javascriptreact",//   "javascript”": "javascript",//   "wxml": "html"// },"team.showWelcomeMessage": false,//  go"go.goroot": "/usr/local/go", //默认/usr/local/go"go.gopath": "/Users/liulu/Documents/work/go_project","sync.gist": "262619791ad5e6b8e40f44b193444b5a","explorer.confirmDragAndDrop": false,"javascript.updateImportsOnFileMove.enabled": "never","javascript.implicitProjectConfig.experimentalDecorators": true,"python.pythonPath": "/usr/local/bin/python3.7","fileheader.configObj": {"autoAdd": false, // 默认开启},"fileheader.customMade": {"Description": ""}, // 头部注释"fileheader.cursorMode": {"description": "","param": "","return": ""},"window.zoomLevel": 0,"editor.minimap.enabled": true,"files.eol": "\n","[javascript]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"[html]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"[jsonc]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"window.title": "${activeEditorLong}${separator}${rootName}","[typescript]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"[json]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"workbench.iconTheme": null,"typescript.updateImportsOnFileMove.enabled": "always"
}

  

转载于:https://www.cnblogs.com/smzd/p/9272247.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/249866.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

IdentityServer4【QuickStart】之使用asp.net core Identity

使用asp.net core Identity IdentityServer灵活的设计中有一部分是可以将你的用户和他们的数据保存到数据库中的。如果你以一个新的用户数据库开始,那么,asp.net core Identity是一个选择。这个示例演示了如何在IdentityServer中使用asp.net core Ientit…

vue demo1

1.开发工具 试过sublime,现在转战vscode,觉得很顺手,总之啥工具习惯就好。 vscode用着不错的插件,推荐安装。 2.项目目录介绍 vue-cli生成的项目目录有点多,初看有点懵,梳理一下会好很多。 ├── ind…

mysql日志介绍

1. 错误日志 错误日志记录的事件: a. 服务器启动关闭过程中的信息 b. 服务器运行过程中的错误信息 c. 事件调试器运行一个事件时间生的信息 d. 在从服务器上启动从服务器进程时产生的信息 2. 查询日志 查询日志记录查询语句与启动时间,建议不是在调试环境…

Mac OS X终端的常用操作命令(UNIX指令)

用了十多年windows,终于换了个高配Mac,俗话说 无论前端还是后端最终还是走向了linux,无论是换了多少台PC最终都会走向Mac。不学习命令行用什么Mac? 干就完了~ pwd 显示现在的文件路径 (print working directory) ls 显示…

索引( index )

索引在庞大的数据库上最能体现出作用,所谓索引就是根据需求将指定的列提取出来做索引表,可以显著提高在查找数据方面的速度。 在索引的前提下还可以指定索引值是否唯一,索引值是单列或是多列索引。 根据索引类型,索引分为&#xf…

dependencies 和 devDependencies 区别

当我们项目需要下载一个模块的时候,我们安装npm包(在项目目录下面npm install module_name)的时候,很多时候我们会在后面加上–save-dev 或 –save。这两个参数代表什么呢? 初识 相信很多人都会回答: np…

CentOS下防御或减轻DDoS攻击方法(转)

查看攻击IP 首先使用以下代码,找出攻击者IP netstat -ntu | awk {print $5} | cut -d: -f1 | sort | uniq -c | sort -n 将会得出类似如下的结果: 1 114.226.9.132 1 174.129.237.157 1 58.60.118.142 1 Address 1 servers) 2 118.26.131.78 3 123.125.1…

iTerm2 快捷键

Ctrl a:将光标移动到命令行首 Ctrl e:将光标移动到命令行尾 Ctrl w:删除光标前的一个单词 Ctrl u:删除所有内容 Ctrl y:粘贴上次删除的内容 Ctrl r:搜索历史命令删除光标之前的单词:ctrl …

vscode - 添加背景图片

首先,CtrlShiftP安装backround , 而后重启vscode会有默认的背景图片 修改背景图,可自定义三张 具体请看gif图 最开始时,发现png根本不是全透明,用ps处理了一下(下列所有操作均字母组合) 1.1 Ctr…

架构设计杂谈004——架构师

什么是架构设师 架构师是:负责系统架构设计的人、团队或组织 架构师主要干什么 ●架构师是技术领导,领导并负责架构设计,负责做决策 ●架构师可以是团队或组织,这个时候通常会有首席架构师 ●架构师必须掌握足够的技术知识 ●架构…

学习JS基本数据类型与对象的valueOf方法

https://blog.csdn.net/licheng11403080324/article/details/60128090 https://yq.aliyun.com/articles/399499 转载于:https://www.cnblogs.com/smzd/p/9548530.html

security和oauth2.0的整合

security和oauth2.0的整合 之前已经介绍过security的相关的介绍,现在所需要做的就是security和oauth2.0的整合,在原有的基础上我们加上一些相关的代码;代码实现如下: pom.xml: <?xml version"1.0" encoding"UTF-8"?> <project xmlns"http:…

关于Vue.use()详解

问题 相信很多人在用Vue使用别人的组件时&#xff0c;会用到 Vue.use() 。例如&#xff1a;Vue.use(VueRouter)、Vue.use(MintUI)。但是用 axios时&#xff0c;就不需要用 Vue.use(axios)&#xff0c;就能直接使用。那这是为什么呐&#xff1f; 答案 因为 axios 没有 install。…

百度TTS的来由

#### https://home-assistant.io/components/tts.baidu/#### https://github.com/charleyzhu/HomeAssistant_Components#### 当前使用自定义组件 https://bbs.hassbian.com/thread-1152-1-1.html#### 2018-3-15添加百度云语音识别 - platform: baidu language: zh app_i…

eslint 禁用命令

/* eslint-disable */ ESLint 在校验的时候就会跳过后面的代码还可以在注释后加入详细规则&#xff0c;这样就能避开指定的校验规则了/* eslint-disable no-new */常用&#xff1a; rules: {"comma-dangle": ["error", "never"], //是否允许对象…

分布式工具的一次小升级⏫

前言 之前在做 秒杀架构实践 时有提到对 distributed-redis-tool 的一次小升级&#xff0c;但是没有细说。 其实主要原因是&#xff1a; 秒杀时我做压测&#xff1a;由于集成了这个限流组件&#xff0c;并发又比较大&#xff0c;所以导致连接、断开 Redis 非常频繁。 最终导致获…

浅谈vue $mount()

Vue 的$mount()为手动挂载&#xff0c;在项目中可用于延时挂载&#xff08;例如在挂载之前要进行一些其他操作、判断等&#xff09;&#xff0c;之后要手动挂载上。new Vue时&#xff0c;el和$mount并没有本质上的不同。 具体见代码&#xff1a; 顺便附上vue渲染机制流程图&a…

小三角

{border-color: transparent;border-right-color: #e5e5e5;border-width: 7px;margin-top: -7px;right: 100%;top: 20px;border: solid transparent;content: " ";height: 0;width: 0;position: absolute;pointer-events: none; }转载于:https://www.cnblogs.com/smz…

Laravel日志查看器 -- log-viewer扩展

1.修改laravel配置文件. config\app.php log>daily 2.在项目目录中composer命令安装扩展&#xff1a;composer require arcanedev/log-viewer 3.安装成功后&#xff0c;需要在config\app.php 的providers阵列中注册服务 Arcanedev\LogViewer\LogViewerServiceProvider::clas…

论一个程序员的自我修养-从一张图片说起

故事起源 本来今天想写.NET Core实战之CMS系统第十五篇文章的。哈&#xff0c;奈何今天在新生命人脉群里面看到石头哥分享的一张图片&#xff0c;然后大家就议论了起来&#xff0c;不过我看的很懵逼&#xff0c;这图什么意思啊&#xff1f;当一个朋友讲述了这个图片背后的故事的…