Monaco Editor v0.34.0 Release Notes

    • Introduction of IEditor.createDecorationsCollection API
    • ๐Ÿ†• New function removeAllMarkers to remove all markers
    • ๐Ÿ‘Œ Support for light high contrast theme
    • Introduction of BracketPairColorizationOptions.independentColorPoolPerBracketType
    • Introduction of PositionAffinity.LeftOfInjectedText and PositionAffinity.RightOfInjectedText
    • Introduction of IEditorOptions.showFoldingControls: 'never'
    • โช Introduction of IDiffEditorBaseOptions.renderMarginRevertIcon: boolean
    • Inline Quick Suggestions
    • Introduction of IContentWidgetPosition.positionAffinity
    • Provider can now be registered for a LanguageSelector

    ๐Ÿ’ฅ Breaking Changes

    • IEditorInlayHintsOptions tweaks
    • Iteration on InlineCompletion API
    • WorkspaceFileEdit -> IWorkspaceFileEdit
      • oldUri -> oldResource
      • newUri -> newResource
    • WorkspaceTextEdit -> IWorkspaceTextEdit
      • edit -> textEdit (now supports insertAsSnippet)
      • modelVersionId?: number -> versionId: number | undefined
    • InlayHint API tweaks
    • ๐Ÿ—„ Soft deprecation of ICodeEditor.deltaDecorations, no adoption required. IEditor.createDecorationsCollection API should be used instead.

    Contributions to monaco-editor: