vscode 使用日记

推荐插件

In a single folder workspace, the command creates an extensions.json file located in the workspace .vscode folder where you can add a list of extensions identifiers ({publisherName}.{extensionName}).

在工作区.vscode下建立extensions.json文件,组员可以通过@recommended 安装推荐插件 内容如下

{ "recommendations": [ "ms-vscode.vscode-typescript-tslint-plugin", "dbaeumer.vscode-eslint", "msjsdiag.debugger-for-chrome" ] }

设置插件安装位置

code –extensions-dir D:\software\vscode\extensions

单独工作区设置单独插件

不同语言环境下拥有单独的插件,过多插件会导致加载太慢,我们可以建立对于语言的工作区,在独立的工作区内,禁用不用的插件,比如建立一个php工作区,PHP相关的插件启用,其他语言插件禁用。