Visual Studio Code -VS Code

VS Code 免费开源的编辑器,支持 windows、 mac、 Linux。 微软出品html

官网:https://code.visualstudio.com/vue

下载地址:https://code.visualstudio.com/downloadwindows

 

刚安装好 就会提示你安装中文语言包,而后实现界面全中文化。 不愧是微软出品编辑器

 

选择打开文件夹 来打开项目spa

打开终端:control + ` 

插件

经常使用插件:code

vscode-icons 安装后 从新加载并不生效,须要在 Code->首选项->文件图标主题中 选择安装的主题orm

Auto Rename Tag 改变html标签时 </xx>标签也随着变动htm

vue2 Snippets .vue代码高亮blog

格式化代码: 设置

{
    "workbench.iconTheme": "vscode-icons-mac",
    "editor.detectIndentation": false,
    "prettier.tabWidth": 4,
    "vetur.format.defaultFormatter.html": "js-beautify-html"
}

安装beautify

快捷键 option + shift + f

相关文章
相关标签/搜索