Skip to content
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

Fixed issue with language server extensions #11771

Conversation

federicobozzini
Copy link
Contributor

What it does

It fixes the error discussed at #11752 . Language server extensions were not loaded properly. With this PR they are considered backend extension and loaded correctly.

How to test

Start Vanilla theia and observe the logs. All 76 builtin are loaded.

Review checklist

Reminder for reviewers

@federicobozzini
Copy link
Contributor Author

Signed-off-by: Federico Bozzini <federico.bozzini@gmail.com>
@federicobozzini federicobozzini force-pushed the vscode-frontend-extensions-2 branch from 6d0f7f5 to 9cd7a91 Compare October 14, 2022 16:18
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@federicobozzini I confirmed that plugins are now properly loaded in both the browser and electron applications 👍


Side Note

I'm yet to use web extensions but I believe they should only work in the remote or browser context correct? It seems as though we still load some content but not the command handler for instance. I verified by creating a hello-world web extension from the vscode generator:

The browser will correctly execute the hello world command while electron will throw an error:

image

@vince-fugnitto vince-fugnitto added bug bugs found in the application plug-in system issues related to the plug-in system builtins Issues related to VS Code builtin extensions labels Oct 17, 2022
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In any case, the changes fix the bug where plugins were not loaded properly 👍

@vince-fugnitto vince-fugnitto merged commit 6ca2cfb into eclipse-theia:master Oct 17, 2022
@vince-fugnitto vince-fugnitto added this to the 1.31.0 milestone Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application builtins Issues related to VS Code builtin extensions plug-in system issues related to the plug-in system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants