monaco-editor
Advanced tools
Changelog
[0.22.2] (01.02.2021)
Fixes a regression where under certain webpack configurations process.nextTick
could be used without explicitly checking for it being defined (see https://github.com/microsoft/monaco-editor/issues/2328).
Changelog
[0.22.1] (29.01.2021)
Fixes a regression where format commands would no longer work (see https://github.com/microsoft/monaco-editor/issues/2327).
Changelog
[0.22.0] (29.01.2021)
monaco.editor.onDidChangeMarkers
to listen for marker changes.monaco.editor.registerCommand
to register global commands.monaco.languages.setColorMap
to allow defining the color map used for tokenization.IMonarchLanguage.includeLF
to allow matching against the \n
at the end of each line.stickyTabStops
to make interacting with spaces in indentation behave more like interacting with tabs.monaco
object. You can define global.MonacoEnvironment = { globalAPI: true }
if you want for the editor to define this global object.OnTypeRenameProvider
to LinkedEditingRangeProvider
and related methods like the editor option renameOnType
(now linkedEditing
), registerOnTypeRenameProvider
(now registerLinkedEditingRangeProvider
), etc.OnEnterRule.oneLineAboveText
to OnEnterRule.previousLineText
Contributions to monaco-editor
:
Contributions to monaco-languages
:
Contributions to monaco-typescript
:
Contributions to monaco-css
:
Changelog
[0.21.3] (18.01.2021)
Fixes a regression in suggestions where the browser clipboard API would be accessed by incomplete suggestion lists (see https://github.com/microsoft/vscode/commit/96d61842bae1e5dd11f9ff6139fad9e3e5141401).
Changelog
[0.21.2] (27.09.2020)
Fixes a regression in monaco-css.
monaco.uri
methods file, from, isUri, joinPath, parse, revive
are now static. Changing new monaco.uri.method
to monaco.uri.method
resolves 'TypeError: monaco.Uri.file is not a constructor at...' errors.Changelog
[0.21.1] (24.09.2020)
Fixes a few regressions.
Contributions to monaco-html
:
Contributions to monaco-languages
:
Contributions to monaco-typescript
:
Changelog
[0.21.0] (21.09.2020)
Paste
in the context menu in browsers which support the clipboard API.monaco-typescript
: support for "deprecated" tags, API to participate in the web worker, improved lib.d.ts resolving.overflowWidgetsDomNode
constructor option to pass in a parent for overflowing widgets.minimap.size
option: proportional
, fill
, fit
.OnTypeRename
provider and option renameOnType
.automaticLayout
.tabIndex
, scrollPredominantAxis
, columnSelection
, padding
, unfoldOnClickAfterEndOfLine
, renderLineHighlightOnlyWhenFocus
, definitionLinkOpensInPeek
, showDeprecated
, comments.ignoreEmptyLines
, find.cursorMoveOnType
, find.loop
.originalCodeLens
, modifiedCodeLens
.rulers
can now define different colors, renderWhitespace
can now be trailing
.CompletionItemLabel.signature
has been renamed to CompletionItemLabel.parameters
.CompletionItemProvider.resolveCompletionItem
has changed.IMarker.code.link
was renamed to IMarker.code.target
.IMarkerData.code.link
was renamed to IMarkerData.code.target
.EditorLayoutInfo
has been restructured.Contributions to monaco-editor
:
Contributions to monaco-typescript
:
Contributions to monaco-json
:
Contributions to monaco-languages
:
Changelog
[0.20.0] (11.02.2020)
renderValidationDecorations
- render validation decorations even in read only editorswrappingStrategy
- delegate wrapping points computation to the browsercomments.insertSpace
- insert a space around comments when running commenting commandsfoldingHighlight
- highlight folded regionspeekWidgetDefaultFocus
- focus the inline editor or the tree when opening peek viewonCompositionStart
, onCompositionEnd
to onDidCompositionStart
, onDidCompositionEnd
onDidPaste
WorkspaceEdit.edits
has now changed its shape such that edits must no longer be grouped by resource.Contributions to monaco-editor
:
Contributions to monaco-typescript
:
Contributions to monaco-languages
:
Changelog
[0.19.3] (14.01.2020)
Contributions to monaco-editor
:
Contributions to monaco-languages
: