美文网首页
vscode 好用的的插件

vscode 好用的的插件

作者: 小番茄1009 | 来源:发表于2019-04-14 22:07 被阅读0次

vscode 配置需要装的插件

vue 相关:

1 安装 vetur  : 用来让 vue 文件高亮状态

安装完, 查看 - 外观 - 显示状态栏 - 右下角 选择语言模式 => vue

2 安装 eslint :  检测代码规范

安装 :

设置vscode

"editor.formatOnSave":true,//#每次保存的时候自动格式化

"eslint.autoFixOnSave":true,// #每次保存的时候将代码按eslint格式进行修复

"eslint.validate": [

{"language":"html","autoFix":true},

{"language":"vue","autoFix":true},

{"language":"javascript","autoFix":true},

{"language":"wpy","autoFix":true}

],

"prettier.eslintIntegration":true,// #让prettier使用eslint的代码格式进行校验

"prettier.semi":false,//#去掉代码结尾的分号

"prettier.singleQuote":true,//#使用带引号替代双引号

"javascript.format.insertSpaceBeforeFunctionParenthesis":true,

"editor.formatOnType":true//#让函数(名)和后面的括号之间加个空格

3 安装 : Prettier - code formatter  :  美化代码格式

//1. shift + alt + F => 格式化代码

//2. 配置 : 查看eslint的配置,在一起的

平时常用的插件

1 Auto  Rename Tag  自动补齐修改标签的名字

2 EditorConfig for VS Code

3 Path Intellisense

4 Prettier - Code formatter

5 px2rem

6 Vetur

7 vscode-icons

8 Vue 2 Snippets

9 Vue VSCode Snippets

10 Easy LESS

11 IntelliSense for CSS class names in HTML

相关文章

  • vscode好用的插件

    1. gitlen 聚焦行后就可以看到git历史,查(摔)错(锅)神器。 2. Autoprefixer 给CSS...

  • vscode好用的插件

    图标工具 vscode-icons 介绍: VsCode中的图标插件,可以控制vscode中的文件管理的树目录显示...

  • vscode好用的插件

    复制到vscode下载即可

  • vscode好用插件

    vetur Vue语法高亮 Auto Close Tag ...

  • vscode好用插件

    1.Auto Close Tag 自动添加关闭标签 2.Auto Rename Tag 修改开始标签名,结束标签名...

  • vscode 好用的的插件

    vscode 配置需要装的插件 vue相关: 1 安装 vetur : 用来让 vue 文件高亮状态 安装完, 查...

  • 超好用的vscode插件

    LiveServer 开启本地静态服务器,可以加载一些js文件,避免因为本地源策略无法使用js. Auto Ren...

  • ⚔️图形化正则(reg)表达式

    推荐一款好用的VSCode 插件 RegExp Preview 编写一个日期匹配正则 插件显示图形效果image...

  • Vscode配置python环境

    总结:在官网下载Python和vscode安装后,先装Chinese插件后自动重启vscode,然后装一些好用的插...

  • vscode 插件多终端自动同步

    如何多终端同步vscode插件? 在不同的电脑上,同步插件配置 如果你在家里配置好了各种好用的拓展插件但是到了新的...

网友评论

      本文标题:vscode 好用的的插件

      本文链接:https://www.haomeiwen.com/subject/rpjewqtx.html