Monaco Editor v0.22.0 Release Notes
-
๐ New & Noteworthy
- ๐ new grammars for Modula-3 and ECL (Enterprise Control Language).
- โ added
monaco.editor.onDidChangeMarkers
to listen for marker changes. - โ added
monaco.editor.registerCommand
to register global commands. - โ added
monaco.languages.setColorMap
to allow defining the color map used for tokenization. - โ added
IMonarchLanguage.includeLF
to allow matching against the\n
at the end of each line. - ๐ new editor option
stickyTabStops
to make interacting with spaces in indentation behave more like interacting with tabs.
๐ฅ Breaking changes
- The ESM version of the editor will no longer define a global
monaco
object. You can defineglobal.MonacoEnvironment = { globalAPI: true }
if you want for the editor to define this global object. - ๐ Renamed
OnTypeRenameProvider
toLinkedEditingRangeProvider
and related methods like the editor optionrenameOnType
(nowlinkedEditing
),registerOnTypeRenameProvider
(nowregisterLinkedEditingRangeProvider
), etc. - ๐ Renamed
OnEnterRule.oneLineAboveText
toOnEnterRule.previousLineText
Thank you
Contributions to
monaco-editor
:- @Gittenburg: Fix comment in sample PR #2161
- @luminaxster (David Gonzalez): Missing breaking change PR #2186
- ๐ @svick (Petr Onderka): Fixed indentation in C# sample PR #2250
Contributions to
monaco-languages
:- ๐ @arlosi (Arlo Siemsen): Rust: add support for keywords from the 2018 edition PR #123
- @dehilsterlexis (David de Hilster): LEXER-ECL-001 Lexer for ECL (Enterprise Control Language) PR #118
- @fonsecas72 (Hugo Fonseca): terraform Fix heredoc PR #116
- ๐ @jcchu: Add Modula-3 support PR #117
- @maclockard (Mac Lockard): Fix highlighting of GROUP BY for redshift PR #122
- @philipsens (Sergi Philipsen): Add auto indent for xml PR #113
- @stla
- @VarghaSabee (Sabolch Varha): Safari regex error fix (negative lookbehind) #2179 PR #121
Contributions to
monaco-typescript
:- @Kingwl (Wenlu Wang): Add new jsx emit option PR #73
Contributions to
monaco-css
: