TypeFox / monaco-components

Monaco Editor and Language Client Wrapper, plus Monaco Editor React Component
MIT License
42 stars 13 forks source link

Update to monaco-languageclient 6.5.0 and monaco-vscode-api 1.82.x #53

Closed kaisalmen closed 11 months ago

kaisalmen commented 11 months ago

monaco-vscode-api now supplies all services as independent packages. Therefore the new monaco-languageclient version only allows to import services directly via userConfig and remove all the extra "enable" and "configure" params. By this approach all the extra dynamic imports are no longer present in application bundles. Only the things really used and specified as dependencies are used now.

It is now possible to specify multiple extensions and it is possible to await other extensions before loading your own.

Important: This still uses a next version of monaco-languageclient. Will release and use a final versions once everything is tested.

kaisalmen commented 11 months ago

@cdietrich this should be interesting for you. Bundle sizes are now decreased.