-
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
Update Monaco #10387
Comments
We should really align the versioning of the vs code we use (http://github.com/theia-ide/vscode) with the VS code tags. Right now it's not obvious which version we use. |
Issues and DesiderataThis is a list of things that are troublesome about the way we consume Monaco using our current code - the building / importing / running part, rather than features. Feel free to add your own comments, and I'll add and edit as I try to work through these issue. Relationship to StandaloneProblemFrom VSCode's perspective, the Desiderata
Transparency of ConsumptionProblemVSCode is built to expect that it will be loaded using an Asynchronous Module Loader. As a consequence, we can't include it in our webpack build, and we can't use normal Desiderata
NotesI know that the |
|
Strategically, I believe it was a mistake to ever rely on anything outside the standard packaged monaco build: the time we're saving we're spending each time we update monaco. |
@tsmaeder, I agree. We have a decision to make with this uplift, now. |
I've made a PR that isn't worth looking at and won't be for a while, but I have been recording some thoughts and notes in |
I'll keep my itchy feet still, then ;-). About going with only the public monaco API: I was thinking if we might be better off just copying the bits we're using from VS code that are private? I think it might make it a it harder to profit from further improvements in those areas, but on the other hand, updating monaco would become much easier. @colin-grant-work do you have a handle on how much code we're actually using that's off-API? |
@tsmaeder, there are two or three questions here:
At the moment, I can only answer the first roughly, and the answer is 'fairly often.' I would say that the majority of files in which we refer to Monaco require references to non-API objects. But as I go through and try to reconcile our code with the newly-known types, I'm able to reduce that frequency somewhat by pushing the references to non-API items up the chain and then recasting as the public API object. That means the answer to the second question is likely 'less often than it currently appears,' and a careful look at the VSCode code and judicious restructuring of ours may mean that we're able to cut that down even further. I'll know better where we stand on the second question, at least, in a day or two. |
Feature Description:
We should update the monaco editor once again.
The text was updated successfully, but these errors were encountered: