-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Uplift Monaco to VSCode 1.67.2 #11331
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
Uplift Monaco to VSCode 1.67.2 #11331
Conversation
3f93ce8 to
7508e16
Compare
7508e16 to
98597c6
Compare
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 confirmed that functionality the changes work well 👍
- syntax highlighting (verified js, ts, tsx, json, css, html)
- quick-open menus
- outline-view and breadcrumbs
- peek widgets
- debug console
- problem markers are supported
- preferences schemas and validation work
-
autoSaveworks
66e8026 to
f79365e
Compare
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 👍
When ready I can perform the official release of @theia/monaco-editor-core (non alpha).
| "onigasm": "^2.2.0", | ||
| "vscode-textmate": "^4.4.0" | ||
| "vscode-oniguruma": "1.6.1", | ||
| "vscode-textmate": "^7.0.1" |
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.
This will be a nice improvement, with the upgrade we can make use of a timeLimit when tokenizing so we ensure that we do not hang the UI on large tokenizations, and we can adjust our code to not tokenize if a line is too long 👍
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.
@vince-fugnitto Is this related to the issue brought up in #11391?
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.
@vince-fugnitto Is this related to the issue brought up in #11391?
Exactly :) I had investigated a little and noticed it was tokenization causing the problem.
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.
Looks good to me as well 👍
- I couldn't see any regressions with your changes
- The new bracket highlighting works as expected (as in vscode)
f79365e to
362b539
Compare
362b539 to
34278aa
Compare
What it does
Uplifts
@theia/monaco-editor-coreto the state of [email protected] and makes a few adjustments. In particular, it updates thevscode-textmatedependency to7.0.1to match VSCode in order to provide the accustomed theme experience, and it replacesonigasmwithvscode-onigurumafor the same reason. The former change required some reorganization of code to account for breaking changes invscode-textmate.How to test
Review checklist
Reminder for reviewers