-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Dynamic Extension Points #66574
Labels
Milestone
Comments
alexdima
added a commit
that referenced
this issue
Jan 16, 2019
isidorn
added a commit
that referenced
this issue
Jan 18, 2019
isidorn
added a commit
that referenced
this issue
Jan 18, 2019
isidorn
added a commit
that referenced
this issue
Jan 18, 2019
I have made the following contributions dynamic: If a user disables a debugger of a type that he is currently debugging we will stop that session. Example: user is debugging Pyhtong and disables the python extension -> the python debug session will quit. |
vedipen
added a commit
to vedipen/vscode
that referenced
this issue
Jan 18, 2019
2 tasks
2 tasks
1 task
aeschli
added a commit
that referenced
this issue
Jan 28, 2019
Thank you! ❤️ |
2 tasks
This was referenced Jan 30, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
We want to be able to dynamically install/enable or uninstall/disable extensions. For this, we need to adopt that extension points are dynamic. This is done by adding
isDynamic: true
to theregisterExtensionPoint
call.When an extension is added/removed at runtime, all of its extension points will have their handlers invoked again. The handler conforms to the following type:
The first argument will always be the complete list of extensions that use the extension point and the second (newly added) argument will be the delta since last time the handler was called.
You can test this by having an extension that exercises your extension point and enabling/disabling the extension.
Extension points:
The text was updated successfully, but these errors were encountered: