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) 安装软件就简单啦,下载选择路径就完事了,注意文件名全英文: 但是按照咱们传 ...
随机推荐
- Java-File类获取目录下文件名-遍历目录file.listFiles
package com.hxzy.IOSer;import java.io.*;/*File 类获取功能 * List * ListFile * */public class Demo06 { pub ...
- NOIp2018提高组游记
Day1 T1 积木大赛 NOIp2013D2T1.....看到的时候我还以为我记错了,以为原题是一次可以随便加,这题只能加一,出考场后查了下发现一模一样. #include <iostream ...
- Spring Boot启动过程(六):内嵌Tomcat中StandardHost、StandardContext和StandardWrapper的启动
看代码有助于线上出现预料之外的事的时候,不至于心慌... StandardEngine[Tomcat].StandardHost[localhost]的启动与StandardEngine不在同一个线程 ...
- 安卓手机移动端Web开发调试之Chrome远程调试(Remote Debugging)
一.让安卓打debug模式的apk包 二.将电脑中的chrome升级到最新版本,在chrome浏览器地址栏中输入chrome://inspect/#devices: 在智能手机还未普及时,移动设备的调 ...
- python 报错: Dog() takes no arguments
后来上网找了一下.发现是 构造方法 __init__ 两边的下划线是双下划线,我写的是单下划线. 读书不认真,该打. 特此记录.
- js数字动画
项目中需要的数字动画效果,网上找不到需要的效果,所以自己写了一个. 不多说,直接上干货:
- Mac 10.12安装Windows远程桌面工具Microsoft Remote Desktop
说明:之前Office自带的Windows远程桌面工具虽然简便,但是保存的服务器列表有限.而这个微软推出的自家工具可以完美解决这些问题. 下载: (链接:https://pan.baidu.com/s ...
- (转)Mysql数据库之Binlog日志使用总结
使用mysqlbinlog提取二进制日志 原文:http://blog.csdn.net/leshami/article/details/41962243 MySQL binlog日志记录了MySQL ...
- JS框架设计之对象扩展一种子模块
对象扩展 说完了,对象的创建(框架的命名空间的创建)以及如何解决多库之间的命名空间冲突问题之后,接下来,就是要扩展我们的对象,来对框架进行扩展,我们需要一种新功能,将新添加的功能整合到我们定义的对象中 ...
- WebStorm 快键键
ctrl+/ 单行注释ctrl+shift+/ 块注释ctrl+shift+ +/- 展开/折叠ctrl+alt+L 格式化代码ctrl+shift+ up/down 上下移动句子 Alt+回车 导入 ...