Theia: upgrade to Monaco 0.20.0

Created on 29 Apr 2020  路  10Comments  路  Source: eclipse-theia/theia

It's required to support semantic highlighting, for instance to run latest rust extension: https://github.com/eclipse-theia/theia/issues/7608

There are 2 ways:

Che-Editors monaco

Most helpful comment

Published https://www.npmjs.com/package/@theia/monaco-editor-core/v/0.20.0 from https://github.com/theia-ide/vscode/commits/standalone/0.20.x

Recap for next time:

git checkout --track origin/standalone/0.20.x
  • sync latest changes from upstream tag
git reset --hard upstream/standalone/0.20.x
git push -f
  • run yarn to install dependencies
  • prepare distribution with /src/vscode> node_modules/.bin/gulp editor-distro
  • publish with npm publish

Relevant VS Code docs: https://github.com/microsoft/monaco-editor/blob/master/CONTRIBUTING.md#1-ship-a-new-monaco-editor-core-npm-module

All 10 comments

Hi @akosyakov
probably, we (at Red Hat) can work on it starting next week, by doing it as the previous Monaco migration.
I'll let you know here by Friday, May 8.

We need a couple of more days to finalize our plans for May. So, I will come back next week with more accurate dates.

We'll work on it during May. Most likely, starting next week.

Cool! Thanks @azatsarynnyy - rust-analyzer support (requiring newer Monaco) will be awesome!!

@leo-lb I wonder are you interested in some features of newer Monaco or more in Plugin APIs that we'll be able to implement after the upgrade?

@azatsarynnyy the latter - see: https://github.com/eclipse-theia/theia/issues/7608

@akosyakov
I'm ready to take this issue in progress, if you don't mind.

Please let me know if you have some things I should pay attention.
From my side I remember:

I'll add these items to my TODO list when I have the corresponding PR in Theia

@akosyakov
I see you published next version of monaco-languageclient.

Can I ask you publish 0.20 version of @theia/monaco-editor-core when you have a chance.

Then I can apply these versions for Theia and open a draft PR for testing and adaptation.

@RomanNikitenko Hi, I will do tomorrow morning.

Published https://www.npmjs.com/package/@theia/monaco-editor-core/v/0.20.0 from https://github.com/theia-ide/vscode/commits/standalone/0.20.x

Recap for next time:

git checkout --track origin/standalone/0.20.x
  • sync latest changes from upstream tag
git reset --hard upstream/standalone/0.20.x
git push -f
  • run yarn to install dependencies
  • prepare distribution with /src/vscode> node_modules/.bin/gulp editor-distro
  • publish with npm publish

Relevant VS Code docs: https://github.com/microsoft/monaco-editor/blob/master/CONTRIBUTING.md#1-ship-a-new-monaco-editor-core-npm-module

Was this page helpful?
0 / 5 - 0 ratings