小技巧
推荐vscode插件
.vsconde/extensions.json
如何自动生成extensons.json? 如何查看推荐插件的插件id?
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"octref.vetur",
"editorconfig.editorconfig",
"syler.sass-indented",
"sysoev.language-stylus",
"gruntfuggly.todo-tree"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": []
}
实用工具
nrm
包可以方便切换npm包的多个registry源nvm
包可以方便切换node的多个版本