VS Code reads it off whatever activate resolves to, so it has to be built
during activation and after the services it is made of — declaring it lets
the framework do both, instead of the extension keeping a mutable module
variable and hoping it was filled.
What an extension publishes to other extensions.
VS Code reads it off whatever
activateresolves to, so it has to be built during activation and after the services it is made of — declaring it lets the framework do both, instead of the extension keeping a mutable module variable and hoping it was filled.Example