Monaco Editor v0.21.0 Release Notes
-
๐ New & Noteworthy
- โ Added
Paste
in the context menu in browsers which support the clipboard API. - ๐ Many improvements in
monaco-typescript
: support for "deprecated" tags, API to participate in the web worker, improved lib.d.ts resolving. - ๐ New tokenization support for: Julia, Scala, Lexon, Terraform HCL, Dart, Systemverilog.
- ๐ New semantic tokens provider sample on the playground.
- ๐ New shadow dom sample
- ๐ New
overflowWidgetsDomNode
constructor option to pass in a parent for overflowing widgets. - ๐ New
minimap.size
option:proportional
,fill
,fit
. - ๐ New
OnTypeRename
provider and optionrenameOnType
. - ๐ Fixed issue where cross-origin web workers were not working on Safari.
- ๐ Fixed many issues around embedding the editor in iframes or in shadow dom.
- ๐ Fixed issue with
automaticLayout
. - ๐ Fixed issue with scrolling speed on Firefox.
- ๐ New options:
tabIndex
,scrollPredominantAxis
,columnSelection
,padding
,unfoldOnClickAfterEndOfLine
,renderLineHighlightOnlyWhenFocus
,definitionLinkOpensInPeek
,showDeprecated
,comments.ignoreEmptyLines
,find.cursorMoveOnType
,find.loop
. - ๐ New diff editor options:
originalCodeLens
,modifiedCodeLens
. - ๐ Changed options:
rulers
can now define different colors,renderWhitespace
can now betrailing
.
๐ฅ Breaking changes
CompletionItemLabel.signature
has been renamed toCompletionItemLabel.parameters
.- The signature of
CompletionItemProvider.resolveCompletionItem
has changed. IMarker.code.link
was renamed toIMarker.code.target
.IMarkerData.code.link
was renamed toIMarkerData.code.target
.EditorLayoutInfo
has been restructured.
Thank you
Contributions to
monaco-editor
:- Hugo Fonseca (@fonsecas72): Adding terraform / hcl samples PR #2102
- @KapitanOczywisty
- Tuan Le Minh (@minhtuanchannhan): Correct url of Microsoft logo PR #2132
- โ Max Schmitt (@mxschmitt): ci: fixed smoke tests by increasing timeout PR #1964
- ๐ Nicholas Rayburn (@nrayburn-tech): Monarch documentation changes PR #1844
- ZHAO Jinxiang (@xiaoxiangmoe): fix: A 'declare' modifier cannot be used in an already ambient context PR #2121
Contributions to
monaco-typescript
:- Sebastian Pahnke (@spahnke)
- Spencer (@SpencerSharkey): Use typescript language for hover tooltip header PR #70
Contributions to
monaco-json
:- ๐ @pankajk07: Fixes microsoft/monaco-editor#1999 PR #12
Contributions to
monaco-languages
:- theangryepicbanana (@ALANVF)
- Arjan van Eersel (@arjanvaneersel): Implemented Lexon highlighting PR #86
- ๐ Basarat Ali Syed (@basarat): add .mjs support :rose: PR #92
- โก๏ธ @bolinfest: Update Python grammar to include keywords introduced in Python 3 PR #91
- Hugo Fonseca (@fonsecas72)
- Lars Hvam (@larshp)
- ๐ Kenny Lin (@LinKCoding): Added ".rmd" file extension to R's list of supported languages PR #83
- โก๏ธ Justin Mancusi (@mancusi): Updates the comment tokenization for handlebars syntax. PR #93
- ๐ Mert Caliskan (@mulderbaba): introduce preliminary Scala support, highly inspired by src/java content PR #97
- ๐ Nicholas Rayburn (@nrayburn-tech): Add _ as a supported character for Python tags/keywords PR #81
- @skacurt: [vb] fix string literals PR #94
- Taymon A. Beal (@taymonbeal): Add asserts, bigint, and unknown to TypeScript keywords PR #96
- ๐ Sabolch Varha (@VarghaSabee): Feature - dart language support PR #84
- ๐ @xadegunt: Add Systemverilog language support PR #108
- โ Added