Supported 'language' editor instance option
What does this MR do and why?
It introduces the support for a standard language
editor option when creating a Source Editor instance. Prior to this change, the only way to detect a desired language for an editor's model was the blobPath
. However, Monaco allows for a standard construction option language
which should continue working in Source Editor as well. This MR takes care of it.
Screenshots or screen recordings
No visual changes.
How to set up and validate locally
- Edit/create a file in a repo
- Make sure the syntax highlighting matches the file type
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #325992 (closed)
Edited by Denys Mishunov