-
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
Upgrade to LSP 6.0.0 and Monaco 0.19.3 #7149
Conversation
@RomanNikitenko Could you reference relevant issue and fill int |
1a0e2d5
to
53b236d
Compare
@akosyakov |
22ed538
to
e536c70
Compare
I found that |
@RomanNikitenko ok, I will start testing it a bit this week. |
btw thank you for such diligent work on updating monaco typings 👍 |
@RomanNikitenko I've started adding tests in #7265 against this PR. I will stabilise and add more tests next days. They should cover |
I think it will really help to test the current changes and will speed up the process of testing of next Monaco upgrade! Thank you, Anton for doing this. l really appreciate it! 👍 |
I've noticed that go to definition does not jump to proper column anymore:
|
Regarding to #7149 (comment) @RomanNikitenko there is a bug in the plugin system which breaks navigation coupled with this PR, here theia/packages/plugin-ext/src/common/plugin-api-rpc-model.ts Lines 308 to 313 in a0e57d0
selectionRange and origin , but there are no such properties monaco.d.ts, instead it should be targetSelectionRange and originSelectionRange
Added an integration test for it: https://github.com/eclipse-theia/theia/pull/7265/files#diff-654c40ef160f7094cc2d64d1183831e6R95-R105 btw it used to work because Monaco was guessing before, but now they removed it and rely on properties above |
the corresponding interface was renamed in vs code: Should we rename/deprecate it as well in |
@RomanNikitenko I would be fine with it, it is not public API, so should be fine to align. It is certain helps when things named the same way during investigations. |
@RomanNikitenko thank you for the update, i will continue adding test tomorrow, had to focus on the vsx registry integration today. Could you check other my comments in the meantime? |
sure! thank you for your comments - yesterday I added I'm not sure I understand the use case for testing here: #7149 (comment). I played with it yesterday - tried to add and remove the corresponding code, but I didn' see the difference. Will do it today again... |
@RomanNikitenko You can try to remove it on master and see what is the difference. I think it was related to peek reference dialog if you follow a reference from it then a new editor should be opened and it should have the peek reference opened as well, but old widget should not. Plus focus should be transferred properly, i.e. try to move up/down or type after navigation. On master it should break when you remove with new Monaco i hope it should be fine, at least it looks like it was fixed in the upstream.
Maybe something with the test itself, will have look at it tomorrow as well. |
Got it! Yes, now I can reproduce it, thank you! |
I have two questions :-)
|
it would be nice, but i don't want to delay you from merging
it looks great |
@akosyakov sure, let's plan it on Monday |
6fbf46d
to
d805417
Compare
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
d805417
to
d00c56b
Compare
@azatsarynnyy Should we meet in our dev meeting room? What time will work for you? at 15 CET? |
@RomanNikitenko should anything else be done to merge it? |
@akosyakov yes, we can use the same BJN link as for dev call. 15 CET is good for us. Thanks! |
@akosyakov Thank you very much for your support! |
What it does
Closes #6900
Upgrade to:
LSP
:6.0.0
theia/monaco-editor-core
:0.19.3
vscode-ws-jsonrpc
:0.2.0
TODO
monaco/index.d.ts
Upgrade to LSP 6.0.0 and Monaco 0.19.3 #7149 (comment)Peek
submenu and the corresponding actions Upgrade to LSP 6.0.0 and Monaco 0.19.3 #7149 (comment)go to definition
Upgrade to LSP 6.0.0 and Monaco 0.19.3 #7149 (comment)referencesController
and testpeek
widget Upgrade to LSP 6.0.0 and Monaco 0.19.3 #7149 (review)Theia
: Stop dispatching to keybindings in editing coposition text. #6673 (comment)Peek Declaration
problem Upgrade to LSP 6.0.0 and Monaco 0.19.3 #7149 (comment)master
branch as wellquick fixes
menu Upgrade to LSP 6.0.0 and Monaco 0.19.3 #7149 (comment)Open Workspace Symbol...
=>Go to Symbol in Workspace...
: 445104fCallHierarchy
Upgrade to LSP 6.0.0 and Monaco 0.19.3 #7149 (comment)Configure Task
actioncodicons
for command paletteHow to test
edit
menu with editorselection
menu with editorReview checklist
Reminder for reviewers
Signed-off-by: Roman Nikitenko rnikiten@redhat.com