-
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
Extract plugin uri generation to injectable class #9027
Extract plugin uri generation to injectable class #9027
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once the comments are resolved.
packages/plugin-ext/src/hosted/node/scanners/plugin-uri-factory.ts
Outdated
Show resolved
Hide resolved
packages/plugin-ext/src/hosted/node/scanners/file-plugin-uri-factory.ts
Outdated
Show resolved
Hide resolved
Minor: you've updated copyrights to 2020 in several places, but it should likely be 2021 now. 🎊 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
0de7cbd
to
841213b
Compare
Signed-off-by: Thomas Mäder <tmader@redhat.com>
841213b
to
86e015f
Compare
Signed-off-by: Thomas Mäder tmader@redhat.com
What it does
Extracts the generation of URIs for contribution files referenced in package.json (like snippet contribution files) to an overrideable class. This would simplify handling remote plugin hosts in Che while not greatly impacting the Theia code.
See eclipse-che/che#16502
How to test
Run theia built from this PR (both electron and browser) and verify that things like snippets, etc. (see https://code.visualstudio.com/api/references/contribution-points) still work.
Review checklist
Reminder for reviewers