vscode 安装插件,和相关配置
安装插件,配置对应的用户设置,进行替换,实现插件功能的生效



{
// 控制是否在搜索中跟踪符号链接。
"search.followSymlinks": false,
"editor.minimap.enabled": true,
"workbench.colorTheme": "Dracula",
"git.ignoreMissingGitWarning": true,
"window.zoomLevel": ,
"files.autoSave": "afterDelay",
"editor.tabSize": ,
"html.format.enable": true,
"javascript.format.enable": true,
"auto-close-tag.activationOnLanguage": [
"xml",
"HTML (Eex)"
],
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
"vue"
],
"eslint.options": {
"plugins": [
"html"
]
},
// 以像素为单位控制字号。
"editor.fontSize": ,
// 以像素为单位控制字符间距。
"editor.letterSpacing": 0.1,
// 控制行高。使用 0 通过字号计算行高。
"editor.lineHeight": ,
"editor.wordWrap": "on",
// Whether to close self-closing tag automatically
"auto-close-tag.enableAutoCloseSelfClosingTag": true,
// Whether to insert close tag automatically
"auto-close-tag.enableAutoCloseTag": true,
// Set the tag list that would not be auto closed.
"auto-close-tag.excludedTags": [
"area",
"base",
"br",
"col",
"command",
"embed",
"hr",
"img",
"input",
"keygen",
"link",
"meta",
"param",
"source",
"track",
"wbr"
],
// Use color decorators in vue
"vetur.colorDecorators.enable": true,
// Include completion for module export and auto import them
"vetur.completion.autoImport": true,
// Enable/disable Vetur's built-in scaffolding snippets
"vetur.completion.useScaffoldSnippets": true,
// Default formatter for <style> region
"vetur.format.defaultFormatter.css": "prettier",
// Default formatter for <template> region
"vetur.format.defaultFormatter.html": "none",
// Default formatter for <script> region
"vetur.format.defaultFormatter.js": "prettier",
// Default formatter for <style lang='less'> region
"vetur.format.defaultFormatter.less": "prettier",
// Default formatter for <style lang='postcss'> region
"vetur.format.defaultFormatter.postcss": "prettier",
// Default formatter for <style lang='scss'> region
"vetur.format.defaultFormatter.scss": "prettier",
// Default formatter for <style lang='stylus'> region
"vetur.format.defaultFormatter.stylus": "stylus-supremacy",
// Default formatter for <script> region
"vetur.format.defaultFormatter.ts": "prettier",
// Options for all default formatters
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {}
},
// Whether to have initial indent for <script> region
"vetur.format.scriptInitialIndent": false,
// Whether to have initial indent for <style> region
"vetur.format.styleInitialIndent": false,
// Mapping from custom block tag name to language name. Used for generating grammar to support syntax highlighting for custom blocks.
"vetur.grammar.customBlocks": {
"docs": "md",
"i18n": "json"
},
// Traces the communication between VS Code and Vue Language Server.
"vetur.trace.server": "off",
// Validate js/ts in <script>
"vetur.validation.script": true,
// Validate css/scss/less/postcss in <style>
"vetur.validation.style": true,
// Validate vue-html in <template> using eslint-plugin-vue
"vetur.validation.template": true,
"window.menuBarVisibility": "visible",
"workbench.tree.horizontalScrolling": true,
"workbench.activityBar.visible": true,
"workbench.statusBar.visible": false,
"window.titleBarStyle": "custom",
"editor.fontLigatures": true,
"editor.fontWeight": "",
"editor.formatOnSave": true,
"editor.formatOnType": true,
// Press the Enter key to activate a command (Default: false)
"docomment.activateOnEnter": false,
// User-controllable options
"docomment.advanced": {
"cs": {
"namespace": {
"attributes": [
"summary"
]
},
"class": {
"attributes": [
"summary",
"typeparam"
]
},
"interface": {
"attributes": [
"summary",
"typeparam"
]
},
"struct": {
"attributes": [
"summary"
]
},
"enum": {
"attributes": [
"summary"
]
},
"delegate": {
"attributes": [
"summary",
"param",
"typeparam",
"returns"
]
},
"field": {
"attributes": [
"summary"
]
},
"property": {
"attributes": [
"summary",
"value"
]
},
"method": {
"attributes": [
"summary",
"param",
"typeparam",
"returns"
]
},
"event": {
"attributes": [
"summary"
]
}
}
},
// Insert spaces when pressing Tab.
"editor.insertSpaces": true,
// The number of spaces a tab is equal to.
"editor.tabSize":
}
vscode 安装插件,和相关配置的更多相关文章
- wxWidgets的安装编译、相关配置、问题分析处理
wxWidgets的安装编译.相关配置.问题分析处理 一.介绍部分 (win7 下的 GUI 效果图见 本篇文章的最后部分截图2张) wxWidgets是一个开源的跨平台的C++构架库(framewo ...
- vscode安装插件
十分简单,知道名字叫啥后,直接搜索,安装,就完了,还可以查看自己已经安装了哪些插件. step1 如图.png step2 image.png step 3 去网上查找想要安装的插件的名字 step ...
- VsCode安装Go的相关插件
今天在学习Go的时候,安装Go的相关插件,显示安装不上,但是右下角也一直会提示让你安装,当然你可以设置成忽略,为了开发效率,我选择了安装.然后出现了问题,一直Failed.在网上看到了很多的文章,不是 ...
- 阿里云卸载自带的JDK,安装JDK完成相关配置
0.预备工作 笔者的云服务器购买的是阿里云的轻量应用服务器,相比于云服务器ECS,轻量应用服务器是固定流量但是网络带宽较高,对于服务器来说,网络带宽是非常昂贵的,而带宽也决定了你的应用访问的流畅度,带 ...
- vscode 安装插件SVN 报vscode SVN not found
1.软件环境 svn客户端安装的是TortoiseSVN: vscode 安装的为SVN的插件: 2. 问题现象 vscode打开文件夹后右下角提示如下报错:SVN not found. Instal ...
- Sublime Text 3安装与使用,安装插件,快捷键,默认配置
本文是Sublime Text 全程指引 by Lucida (http://www.cnblogs.com/figure9/p/sublime-text-complete-guide.html)的笔 ...
- Ubuntu下安装JDK以及相关配置
1.查看系统位数,输入以下命令即可 getconf LONG_BIT 2.下载对应的JDK文件,我这里下载的是jdk-8u60-linux-64.tar.gz 3.创建目录作为JDK的安装目录,这里选 ...
- vscode Js 插件 Jshint 的配置
vscode这款编辑器让人用起来很舒服,但是刚刚入手的童鞋可能会对其插件的安装产生一些恐惧,虽然vscode提供了插件的搜索和安装,但是其中一些插件是需要一些软件或者包之类的东西做支撑的,并不是在vs ...
- ideaui安装破解、相关配置、JRebel破解
前言: Ideaui 2019(官网 https://www.jetbrains.com/idea/?fromMenu) 安装软件就简单啦,下载选择路径就完事了,注意文件名全英文: 但是按照咱们传 ...
随机推荐
- OCP考试题库更新,052最新考题及答案整理-第8题
8.Which two are true about the Fast Recovery Area (FRA)? A) It should be larger than the database. B ...
- 查看inux系统类型和版本
当我们使用一台新的linux服务器的时候,为了区分他们的命令,我们首先第一步就是要搞清楚这个系统的类型和版本号,据此再来使用对应的命令. 下面来看看可以使用以下基本命令来查看 Linux 发行版名称和 ...
- [转] 打开 CMD 时自动执行命令
[转] 打开 CMD 时自动执行命令 问题描述 在Windows中打开一个command-prompt时,我正在寻找一种方法来执行一些控制台命令,特别是设置一些命令别名. 例如,当打开command- ...
- Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option)
今天运行Redis时发生错误,错误信息如下: org.springframework.dao.InvalidDataAccessApiUsageException: MISCONF Redis is ...
- UVA10140 Prime Distance
UVA10140 Prime Distance 给定两个整数L,R(1<=L<=R<=2^{31},R-L<=10^6)L,R(1<=L<=R<=231,R− ...
- URL中 # (hash)的含义
url中#(hash)的含义 hash 属性是一个可读可写的字符串,该字符串是 URL 的锚部分(从 # 号开始的部分) 1."#"代表网页中的一个位置.其右面的字符,就是该位置的 ...
- SHELL脚本扩展
使用SED命令 sed称为流编辑器,命令格式如下: sed option script file -e script #指定多个命令 -f script_file #指定命令文件 -n #不需要为每个 ...
- 关于京东首页的制作以及切图软件fireworks推荐
这几天跟随老师给的视频学习制作京东首页 学到了很多 以下是相关代码和截图 html部分 <!DOCTYPE html><html lang="en">< ...
- FAQ of db2fmp messages in the db2diag.log
http://www-01.ibm.com/support/docview.wss?uid=swg21470035 Technote (FAQ) Question What do these mess ...
- 《LeetBook》leetcode题解(8): String to Integer (atoi) [E]——正负号处理
我现在在做一个叫<leetbook>的免费开源书项目,力求提供最易懂的中文思路,目前把解题思路都同步更新到gitbook上了,需要的同学可以去看看 书的地址:https://hk029.g ...