Skip to content

How to Handle File Operations #1450

Answered by kaisalmen
ballcoach12 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @kaisalmen. I think I am close to having this working with the latest m-e-w version. However, it looks like the editorWorker-es.js file can't be found. Is buildWorkerDefinition() still the correct way to load it? I noticed that your code example has a configureMonacoWorkers() function. Does that tell the worker factory where to find the worker js file?

I received this notification, but I don't see it here. 🤔 buildWorkerDefinition is outdated. I introduced configureMonacoWorkers with v4 of the wrapper. The new function is more flexible. You can use the bundle version like this: https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/src/python/client/main.ts#L…

Replies: 1 comment 21 replies

Comment options

You must be logged in to vote
21 replies
@cdietrich
Comment options

@kaisalmen
Comment options

@kaisalmen
Comment options

@kaisalmen
Comment options

Answer selected by ballcoach12
@ballcoach12
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants