-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vscode] support activation events #4199
Comments
Activation events are not supported yet, VS Code extensions are activated eagerly for now. |
Hit it again trying to debug LS process of vetur VS Code extension. It's really hard since debug configuration rely on lazy loading of extensions :( |
For rust extension, it is necessary to fix it, otherwise it starts contributing UI elements regardless whether rust project opened or not. |
Docs:
|
For |
I will stop working on it. |
|
|
|
Closing this omnibus issue, as we generally support activation events. |
@tsmaeder, How can we track those? |
The list is at least partially out of date ("onRenderer"). If we have missing activation events, they should be tracked by separate issues and linked to the VS Code API version where they appear. This old issue is not useful, IMO. |
@tsmaeder , Unfortunately the activation events are independent of the
|
Hello, I've got a vscode extension running in theia version "next" ( "version": "0.4.0-next.e2f3ec66" ). But there's a slight difference in when the activation() lifecycle method gets called.
The vscode extension was built with "vscode": "1.1.28", and has this info in it's package.json
And a very simple extension.ts that looks like this.
When running in vscode, the activate method is not called until the command is actually triggered through the vscode command palette.
When running inside theia, the activate method is called as soon as the browser is connected / opened. This makes debugging the activate method a little more challenging. And could lead to different behavior with vscode extensions.
The text was updated successfully, but these errors were encountered: