-
Notifications
You must be signed in to change notification settings - Fork 40
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
Fix tree editor dependency for Theia 1.18+ #118
Merged
JonasHelming
merged 1 commit into
eclipse-theia:master
from
lucas-koehler:fix-tree-extension
Oct 13, 2021
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I believe using a mismatch of
latest
andnext
will cause issues (especially for inversify) as it can potentially pull different versions of the same extension (ex:@theia/core
).In addition, if a user passes
--theia-version
on the command line while generating the extension it will not work well either: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.
Thanks for the quick feedback @vince-fugnitto :)
I agree that this is not an optimal solution but more of a temporary solution until there are regular numbered releases (or RCs) of the tree editor. As of now there aren't any and the
latest
tag is currently not updated because there was no release CQ done, yet.In the current state, the tree extension does not work at all with Theia 1.18.0 (or any Theia version since the switch to ECMA2017).
For the moment, I see two possible solutions: Set it to
next
or set it to a specific version (0.7.0-next.0324b32).I think this will be a general problem even if using
latest
because the user can always put in a Theia version that is too old. To fix this, we'd need to pass in or derive a separate version for the tree. I think this is a separate issue to the current one.What do you think?
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.
I also think this reveals a general issue: #119