microsoft / microsoft/monaco-editor
Add flag to Disable Worker
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 46.8k
- Forks
- 4.1k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 1
Description
monaco-editor npm version: 0.8.1
Browser: Chrome
OS: Windows 10
We use monaco editor has viewer of big files and it works like a charm! I just would like to know if it is possible to disable web worker in that case (readonly = true). I think it is unused when editor is just a text viewer.
So thanks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how Monaco Editor initializes web workers when the editor is configured with readonly=true. Check whether the worker is still needed for a read-only text viewer, then verify that a disable-worker flag prevents its initialization without breaking normal editable editors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100