开发捆绑其他扩展的VS Code扩展。

huangapple go评论65阅读模式
英文:

Developing VS Code extension bundled with other extensions

问题

当我开发一个VS Code扩展,并希望用户将其与我选择的其他扩展捆绑安装时,会发生什么情况?

我应该在扩展项目的哪个文件中编写它,以及如何编写?

想要告诉我在哪里编写,或者如何编写。

英文:

What happens when I develop a VS Code extension and want users to install it bundled with other extensions of my choice?

In which file of the extension project should I write it, and how?

Want to tell me where to write, or how.

答案1

得分: 1

你可以将扩展捆绑在扩展包中,一组将一起安装的扩展。

{
  "extensionPack": ["xdebug.php-debug", "zobo.php-intellisense"]
}

https://code.visualstudio.com/api/references/extension-manifest#extension-packs

英文:

You can bundle extensions together in Extension Packs, set of extensions that will be installed together.

{
  "extensionPack": ["xdebug.php-debug", "zobo.php-intellisense"]
}

https://code.visualstudio.com/api/references/extension-manifest#extension-packs

huangapple
  • 本文由 发表于 2023年7月24日 17:25:29
  • 转载请务必保留本文链接:https://go.coder-hub.com/76753072.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定