-
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 viewsWelcome contribution point #7178
Comments
We've introduced viewsWelcome contributed point in some custom extensions... Can you prioritize this task? |
@alex-gilin There is no really "you"? There are different adopters contributing to this project. For now i am not sure there anyone has capacity for it. I've added to next dev meeting to raise it, but one should point out some interesting VS Code extensions to justify it for concrete adopter. PRs are also welcomed. Usually one study VS Code implementation for a reference and then port it to Theia trying not break APIs outside of the plugin system. |
Supporting this would be interesting for better initial git and debug views. |
@EstherPerelman will try to work on it |
Hi ; has this issue been fixed ? I can see the PR has been merged and the changelog mentions it, however my custom extension's Maybe opening a new issue for this would be relevant but I would rather note duplicate this one |
@clovis-dugue The issue has been fixed, What is your code for viewsWelcome? Are you sure it has to work? |
@EstherPerelman Thanks for the lightning fast answer. My code (inside the "viewsWelcome": [
{
"view": "mission-panel",
"contents": "[Show mission](command:side-mission-panel.show-mission)\n[End mission](command:side-mission-panel.end-mission)\n[Cancel mission](command:side-mission-panel.cancel-mission)\n"
}
] It does work as intended when packaged as a EDIT: Perhaps closing the issue would be relevant as to not mislead people encountering similar issues since the PR has been merged |
@clovis-dugue It's very strange, Has to work as explained in How to test PR #8678 |
@EstherPerelman It does indeed ; the main difference between these two plugins being that mine fails to activate (for testing purposes). |
You should really open a new issue for that case.. Might be that Theia won't support it.. |
Further investigation shows that a "Hello World" plug-in straight from VSCode's generator will have the same issue ; the example provided in the PR still works. I'm opening a new issue. Thank you for your help! |
You need to register a I solved with following code:
|
The contribution point has been implemented, but there remains an issue: #9361 |
There is a new contribution point which allow to control welcome view for contributed views: https://github.com/microsoft/vscode/blob/cce81b98b9507b9f4baee1fcf4c9972e88d65a48/src/vs/workbench/contrib/welcome/common/viewsWelcomeExtensionPoint.ts
It's already used by latest version of vscode built-in git extension: microsoft/vscode#61491 (comment)
The text was updated successfully, but these errors were encountered: