VSCode extension Installation Dependency activation order

懵懂的女人 提交于 2021-01-28 06:47:33

问题


I have a VSCode extension which has an installationDependency in the package.json:

"extensionDependencies": [
    "publisher.packagename"
 ]

this works well - it runs the activation event for the dependency before the one I have written as you would expect:

export async function activate(context: vscode.ExtensionContext) {...

however - I would like my extension to first reset an environment variable before the dependency activates. Is it possible to determine (in my case reverse) the order of activation events or is there some event before activation I can use?

来源:https://stackoverflow.com/questions/52002146/vscode-extension-installation-dependency-activation-order

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!