Replies: 1 comment
-
Hi @Kavakuo the service configurations are globally applied. It is either textmate or monarch. Both is not possible. You can have more than one editor, but they must be of the same type (classic/extended). Currently this is not checked. It should be possible to provide a proper warning to the user (bugfix/enhancement). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I have a question regarding the usage of multiple editors. My use case is to have two editors. One editor is connected to a language server (extended config), the second editor is used to edit and validate JSON according to a schema using the default monaco JSON web worker (classic config). When I test both editors independently, everything works as expected. When both editors are visible at the same time or loaded after each other, it basically works but not perfectly (the syntax highlighting in the classic editor is broken).
Exception thrown when typing in the classic/json editor
I assume that this might be related to imports that are triggered for the extended editor (here that trigger additional imports here).
Since I couldn't find anything related to this problem, I just wanted to ask if this is a known problem and if you might have an idea for a workaround.
Beta Was this translation helpful? Give feedback.
All reactions