-
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
Support new vscode 'in' operator for 'when' clauses #8691
Comments
@danarad05 will look into it |
Hi @vince-fugnitto , @akosyakov Seems like we need to update @theia/monaco-editor-core with latest changes in regard to support "in" in keybind "when" clause. I also found theia-ide/vscode/.../standalone/0.20.x which is referenced in theia code - but it isn't exact version used in theia (when debugged - check screen caps below) Please advise what is process for updating monaco-editor-core? Thanks contextkey.ts used in theia (screen cap when debugging) is same as microsoft/vscode/../0.20.x version: |
@danarad05 I have never done it myself, but there is some documentation regarding the overall structure and migration steps necessary: I believe it is still involving by looking at the last update: #8010. |
Thanks @vince-fugnitto , seems to me thought that https://github.com/eclipse-theia/theia/wiki/LSP-and-Monaco-integration is not current - @typefox/monaco-editor-core doesn't look like its maintained: I think that maybe we switched to working with @theia/monaco-editor-core instead of typefox. @akosyakov Please advise Thanks fyi: @amiramw |
@akosyakov Please advise as we are not sure what is flow for updating 0.20x or should it be 0.21.x version? Are you supposed to fork 0.21x? |
@danarad05 |
The question was not to me - sorry - but I believe the answer is: |
Thanks @RomanNikitenko , you are welcome to give your input. Who will update @theia/monaco-editor-core version to 0.21x? |
I did previous two updates of Unfortunately I'm not sure I can provide the next update in the near future - it's not planned in our sprint plan. @azatsarynnyy could you take a look ^^ |
Hello @danarad05 If you wish, you can contribute by doing the next upgrade of Monaco editor 😉 |
@RomanNikitenko @azatsarynnyy not sure it is planned for my sprint plan either. @amiramw Please advise |
@RomanNikitenko |
@danarad05 |
@RomanNikitenko Thanks for mentioning that - it's important to know that Anton's support is critical here. @akosyakov - do you think you would be available for some support on the matter? - I do not know how much support is needed from your side - you and Roman know best. Thanks |
@danarad05 Thanks for bringing-up the Monaco update issue to the dev-meeting. Would you open an issue for this specific Monaco update that we need, where we can discuss it? Then I suggest you attempt a PR, even if not everything is clear from the get-go, and let committers help guide you, to refine it. We collectively have all the required knowledge to do this. |
I agree with @marcdumais-work. |
@azatsarynnyy @marcdumais-work @amiramw |
Feature Description:
There is a new
in
operator forwhen
clauses that vscode added. This new operator allows for a dynamic lookup of a context key's value within another context key's value. For example, if you wanted to add a context menu command to folders that contain a certain type of file (or something that can't be statically known), you can now use thein
operator to achieve it.Example:
For more info:
https://code.visualstudio.com/updates/v1_49#_in-operator-for-when-clauses
The text was updated successfully, but these errors were encountered: