Monaco Editor v0.11.0 Release Notes
-
🆕 New & Noteworthy
- ESM distribution (compatible with e.g. webpack).
- 🆕 New interval tree decorations implementation.
- 🆕 New piece tree text buffer implementation.
- The minimap can be placed to the left.
- Line numbers can be displayed in an interval.
- The cursor width can be customized.
- Smooth scrolling can be turned on.
- Color decorators and color picker via
DocumentColorProvider
.
💥 Breaking changes
- Replaced
MarkedString
withIMarkdownString
. Source code snippets can be expressed using the GH markdown syntax. - 📇 Renamed
IResourceEdit
toResourceTextEdit
.
API changes
- 🔀 Merged
IModel
,IReadOnlyModel
,IEditableTextModel
,ITextModelWithMarkers
,ITokenizedModel
,ITextModelWithDecorations
toITextModel
. A type alias forIModel
is defined for compatibility. - 🔀 Merged
ICommonCodeEditor
andICodeEditor
toICodeEditor
. - 🔀 Merged
ICommonDiffEditor
andIDiffEditor
toIDiffEditor
. - 📚
CompletionItem.documentation
,ParameterInformation.documentation
andSignatureInformation.documentation
can now be anIMarkdownString
. - ➕ Added
CompetionItem.command
,CompletionItem.commitCharacters
andCompletionItem.additionalTextEdits
. - ➕ Added language configuration
folding
which can define markers for code patterns where a folding regions should be created. See for example the Python configuration. - ➕ Added by accident
ResourceFileEdit
(due to howmonaco.d.ts
is generated from vscode). That is not honoured by the editor, and should not be used.
Thank you
- Remy Suen @rcjsuen:
- Fix a small typo in README.md PR monaco-typescript#18
- Remove unused IDisposable array PR monaco-typescript#19
- Add HEALTHCHECK as a Dockerfile keyword PR monaco-languages#29
- Add ARG as a Dockerfile keyword PR monaco-languages#30
- 👍 Can Abacigil @abacigil: MySQL, Postgres, Redshift and Redis Language Support PR monaco-languages#26
- 🔒 Matthias Kadenbach @mattes: Support Content-Security-Policy syntax highlighting PR monaco-languages#27
- e.vakili @evakili: Whitespaces after # are allowed in C++ preprocessor statements PR monaco-languages#28
- Pankaj Kumar Gautam @PAPERPANKS: adding microsoft logo to footer PR monaco-editor#577
- Dominik Moritz @domoritz: Fix code in changelog PR monaco-editor#582
- ⚡️ ItsPugle @ItsPugle: Updating the footer to reflect change of year PR monaco-editor#707
- Michael Seifert @MSeifert04: Add linebreak for if PR monaco-editor#726
- 🔧 Andrew Palm @apalm: Fix 'Configure JSON defaults' sample PR monaco-editor#731
- Niklas Mollenhauer @nikeee: Fix line number API usage PR monaco-editor#740
- Andre @anc: More realistic terminal shell PR monaco-editor#742
- to the many others that have contributed PRs to vscode which have also made their way into the monaco-editor.