-
Notifications
You must be signed in to change notification settings - Fork 11.6k
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
Plugin: Plugin Capabilities #87236
base: main
Are you sure you want to change the base?
Plugin: Plugin Capabilities #87236
Conversation
@leventebalogh what is the difference between this |
Hey @yduartep 👋 Very good question! This PR is still in draft, and the "function extensions" are only an experiment at this point, they might won't land in the end. The reasoning and the difference: although react components can be functions as well (function components), for those extensions we have stricter type restrictions than for ordinary functions. Another difference is that function extensions can be async functions, which can be useful in use cases like for example expecting search results from plugins for a certain query string. I hope it answered your question - please let me know if it didn't. |
Thank you. Just try to explain very good this on the final documentation and if is possible include some real use cases to help to understand the feature. |
Nit. We've been talking about plugin capabilities in a greater scope of what plugins can do/contributes to so maybe a bit confusing naming this "capability"? What about command, ref https://code.visualstudio.com/api/extension-capabilities/common-capabilities#command |
0a76f08
to
f06abdf
Compare
Hi @leventebalogh when do you think this |
96ab9d2
to
0adae4a
Compare
Hi @yduartep 👋 We are working very hard to get this feature/branch into a final version and merge it by this Friday. We will keep you in the loop :) |
0adae4a
to
00bd558
Compare
Related issue / epic: #77856
What changed?
Plugin Capabilities
This PR introduces something called "plugin capabilities", that can be used as the following (supersedes #83692):
Todo: