How to scope the editor models / `typescriptDefaults`
See original GitHub issueI’ve tried it at StackOverflow, but had no luck…
Any chance advise to scope the changes to monaco.languages.typescript
or the “editor models”.
Background: I want to host multiple Monaco editors with different sets of models (maybe also different typescriptDefaults
).
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:8 (6 by maintainers)
Top Results From Across the Web
LanguageServiceDefaults | Monaco Editor API
Configure if all existing models should be eagerly sync'd to the worker on start or restart. Parameters. value: boolean. Returns void. setExtraLibs.
Read more >monaco-editor | Yarn - Package Manager
Learn how to use the editor API and try out your own customizations in the playground. Explore the API docs or read them...
Read more >https://unpkg.com/monaco-editor@0.5.3/monaco.d.ts
IDiffNavigatorOptions): IDiffNavigator; /** * Create a new editor model. * You can specify the language that should be set for this model or...
Read more >Source - GitHub
onlyVisible` for TypeScript which limits the computation of diagnostics to only visible text models. - fixed issue where the editor would not load...
Read more >Chelsea Finn on Twitter: "We find that SERAC can edit ...
SERAC is a new model editor that can: * update factual info * selectively change ... struggle to make precise edits on hard...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes
No, I think you just need to implement the following:
I’m not sure how well it’s gonna work, but this is the cheapest I can think of to simulate something similar to what you describe.
Any news on this topic?