-
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
8969-upgrade-monaco-editor-core-to-standalone-0.23.x #9154
8969-upgrade-monaco-editor-core-to-standalone-0.23.x #9154
Conversation
f13162b
to
45f1357
Compare
@marechal-p |
45f1357
to
63fc12d
Compare
@vince-fugnitto @RomanNikitenko @marechal-p |
@danarad05 to me deprecated means "you should use something else but it should still work". In our case, if a type really doesn't map to any implementation then we should remove it. |
Thank @marechal-p. Wanted to make sure. |
Hi @danarad05! I see there's good progress on the Monaco upgrade. Thank you for working on that! 👍 |
I've just noticed the comment #8969 (comment). So, I've got the answer 🙂 |
Thanks for the offer @azatsarynnyy - it's a shame I didn't know about it sooner as it would have progressed PR faster. |
890c1fe
to
2692400
Compare
@vince-fugnitto @azatsarynnyy @marechal-p @RomanNikitenko @marcdumais-work @offer8 I've updated above the tests required. Thanks |
@danarad05 I don't really understand why you have added the "QuickInput" interfaces to the monaco typings: as far as I understand, the quick-open API has been removed from the monaco editor without replacement: the quick-input API is seems to be used only outside the editor subtree in VS Code. Since this decision drives a lot of the changes in this PR, it would be helpful for my code review if you could explain. |
This comment has been minimized.
This comment has been minimized.
@danarad05 as I understand it, we are not consuming all of VS Code, but only the monaco editor (located in the src/vs/editor subtree of the VS Code source). The interfaces to interact with monaco (either to consume functionality or to provide services to plug into monaco) are described in the Also, if the quick-input is not part of the monaco interface, it does not have to be aligned with the VS Code version of those services. It might be desirable, because we sometimes reuse VS Code source, but it's not a necessity. I would suggest removing the quick-input stuff from the monaco typings to an appropriate place according to the theia module structure. Common services need to be in Please let me know if my understanding is wrong. |
@esterw1109 I will, but you'll need to stop pushing fixes ;-) |
There where conflicts... no more fixes (hopefully) |
We have "Squash and merge" now, so I don't think there's a need. |
I see the failures on Ubuntu on other PR's as well. The test failure is because of a newly introduced test. I'm going to merge now. |
@esterw1109 could you please take care of the followup: #9692 |
@tsmaeder Thank you for merging! @RomanNikitenko @vince-fugnitto I'll take care of the failing tests (I'm only responding now because Friday & Saturday are our rest days...) |
Are you sure this error is because of this PR? I ran |
@EstherPerelman |
@RomanNikitenko I have used the: |
@danarad05 @esterw1109 the
Your environment is likely dirty:
The tests which are failing are: #9701. |
@RomanNikitenko unless you do a git clean, there will be stale stuff in some of the lib folders. |
I didn't check it again, but I believe @vince-fugnitto is right, the problem could be on my side due to:
@EstherPerelman, sorry that I mislead you. So, if I understand correctly, there is still an issue related to tests:
|
@esterw1109 one thing we completely forgot in this to add an entry to the Changelog.md file describing at least the breaking API changes related to the quick-input/quick-open changes. |
Signed-off-by: Esther Perelman <esther.perelman@sap.com>
Signed-off-by: Esther Perelman <esther.perelman@sap.com>
Signed-off-by: Esther Perelman <esther.perelman@sap.com>
Signed-off-by: Esther Perelman <esther.perelman@sap.com>
@tsmaeder, it looks like this can probably be removed now? theia/packages/core/src/browser/frontend-application.ts Lines 165 to 182 in 6bdf64d
|
@colin-grant-work probably, good catch. Could you open an issue, please? |
) In preparation for upgrading monaco-editor-core to standalone/0.23.x these changes were implemented: 1) signatures alignment to standalone/0.23.x 2) editor preferences synced with standalone/0.23.x 3) Changes to theme services based on changes in 0.23.x 4) Removal of QuickOpen modules and implementing QuickInput instead Signed-off-by: Esther Perelman <esther.perelman@sap.com> Co-authored-by: Esther Perelman <esther.perelman@sap.com>
…pse-theia#9736) Signed-off-by: Esther Perelman <esther.perelman@sap.com>
In preparation for upgrading monaco-editor-core to standalone/0.23.x these changes were implemented:
CQ: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=23341
Signed-off-by: Dan Arad dan.arad@sap.com
What it does
This PR updates Theia repo with these changes:
(It is also second part of 8969 where first part is generating monaco-editor-core@0.23)
How to test
-- there is also electron-browser/prompt/git-quick-open-prompt.ts which needs testing - and I'm not sure how to test it.
Choosing keyboard layout: “core.keyboard.choose”
“Editor: Change Language Mode”
“Editor: Change File Encoding”
Config indentation: 'textEditor.commands.configIndentation'
'Indent Using Spaces'
'Indent Using Tabs'
Selecting formatter for document (when there are multiple ones) – i.e.:
'Deploy Plugin by Id'
Using “vscode-extension-samples/configuration-sample” sample, run 'config.commands.configureEmptyLastLineFiles' command and select workspace folder:
Register Variables – for VariableContribution.
‘Open Recent Workspace’
Review checklist
Reminder for reviewers