-
Notifications
You must be signed in to change notification settings - Fork 29.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
Allow third party extension points to be marked with isDynamic
#67958
Comments
66574
isDynamic
I propose a new {
"contributes": {
"contributionPoints": [
{
"name": "markdown.previewStyles",
"isDynamic": true
}
]
}
} |
I think you can also give the schema of your contribution point which can be added to |
@sandy081 We've used this trick to define schema contributions but it would be good to standardize things: https://github.com/microsoft/vscode/blob/37fbae08a4391ec3078c35772ddd33dc3d4fa62f/extensions/typescript-language-features/schemas/package.schema.json |
After discussing this in the stand-up, starting with next stable all 3rd party extension points will be implicitly considered dynamic. @sandy081 , you had a great analysis on this, can you please share the numbers here. |
I have done extensions analysis to know how many extensions are using external contribution points because of which they require reload when installed. Attaching the results from top 1000 extensions Top 1000 Extensions
Markdown (8)
Typescript (6)
Others
Overall in the Marketplace(~10000) there are 140 extensions require reload out of which
|
@alexandrudima I see the need for this new contribution point because there could be extensions whose extension points might not be dynamic (just like language pack contributions) So we can by default consider the external contribution points to be dynamic unless they tag them not. What do you think? |
@sandy081 I would really like to avoid adding anything to In other words, I suggest we don't support non-dynamic 3rd party extension points starting with next stable. |
Makes sense with the strategy to wait for the users. @mjbvz Does the typescript plugin extension point is dynamic, it means can it be loaded without reloading VS Code when the new plugin is added? |
Yes, the markdown and typescript extension points are now dynamic |
Closing this as this feature is not needed anymore. |
👍 I've created #68603 to remember to remove the code entirely. |
Follow up on #66574
Request
Add a declarative API to mark a third party extension point as dynamic. This is needed by the markdown extension (#67574) and TypeScript extensions (#67575) which have custom extension points. I am doing work this iteration to make sure these extensions properly respond to extension changes
The text was updated successfully, but these errors were encountered: