As described here you can install the yo generator code to create themes, extensions and packs.
So, we need to install the node package:
npm install -g yo generator-code
then run:
yo code
Complete the procedure answering questions as follows:
E.g.
? What type of extension do you want to create? New Extension Pack
? Add the currently installed extensions to the extension pack? No
? What's the name of your extension? Angular Extensions Pack
? What's the identifier of your extension? ddoomm-angular-extensions-pack
? What's the description of your extension? Angular Extensions Pack
? Initialize a git repository? No
List all your installed extensions:
code --list-extensions
Now, pick out your preferred extensions and paste them in the created extension pack package.json file, inside extensionPack array.
E.g.
{
"name": "ddoomm-angular-extensions-pack",
"displayName": "Angular Extensions Pack",
"description": "Angular Extensions Pack",
"publisher": "ddoomm",
"version": "0.0.1",
"engines": {
"vscode": "^1.73.0"
},
"categories": ["Extension Packs"],
"extensionPack": [
"Angular.ng-template",
"cyrilletuzi.angular-schematics",
"infinity1207.angular2-switcher",
"johnpapa.Angular2",
"natewallace.angular2-inline",
"nrwl.angular-console",
"sanderledegen.angular-follow-selector"
]
}
Note: I added manually the publisher identifier.
Copy the created folder ddoomm-angular-extensions-pack inside your_user_folder/.vscode/extensions.
Tip: Filter vscode extensions by: @category:"extension packs" @installed to quickly enable\disable them for the specific workspace.