Skip to content

Upgraded Monaco editor#6025

Open
StanZGenchev wants to merge 1 commit into
masterfrom
fix-6024
Open

Upgraded Monaco editor#6025
StanZGenchev wants to merge 1 commit into
masterfrom
fix-6024

Conversation

@StanZGenchev

Copy link
Copy Markdown
Contributor

What does this PR do?

Upgrade the bundled Monaco editor from 0.40.0 to 0.55.1 (~2.5 years of upstream fixes, security patches, and the new default diff editor).

  1. Namespace change
    Monaco moved the language namespaces outside the language object, so we had to do a lot of changes like this - monaco.languages.typescript.* -> monaco.typescript.*.
  2. Removed createDiffNavigator as it was removed upstream.
  3. Modernized the createDiffEditor options.
    Took advantage of the more advanced diff algorithm in the newer version. Also enabled whitespace changes as previously they were not being rendered.
  4. The editor.main.nls.js link is removed.
    The English-NLS module got removed as Monaco inlined the default English strings directly into editor.main.js. Might want to look into locale support in the future if we introduce a second language for the IDE part of Dirigible.

What issues does this PR fix or reference?

#6024

…g, drop removed createDiffNavigator and editor.main.nls.js link)

Signed-off-by: StanZGenchev <stan.genchev@codbex.com>
@StanZGenchev StanZGenchev requested a review from delchev June 12, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant