microsoft / vscode-test-cli

Command-line runner for VS Code tests
MIT License
19 stars 7 forks source link

Add support for installing dependent extensions #14

Closed JustinGrote closed 7 months ago

JustinGrote commented 7 months ago

This pull request adds support for installing dependent extensions in the CLI. It introduces a new function installExtensions that takes an array of extension IDs or VSIX paths and installs them into an existing VS Code instance. The function is called when the CLI is run with the extensionDevelopmentPath and dependentExtensions options specified in the configuration. This allows users to easily install any extensions listed under extensionDependencies in the extension manifest. This feature is useful for projects that depend on specific extensions, such as the .NET Install Tool. Fixes #5.

A future PR will add automatic discovery of DependentExtensions in the package.json file, wanted to keep this one fairly small for now.