Monaco Editor v0.28.0 Release Notes

    • ➕ adds support for typescript inlay hints. Inlay hints can be enabled like this: ts monaco.languages.typescript.typescriptDefaults.setInlayHintsOptions({ includeInlayParameterNameHints: 'all', includeInlayParameterNameHintsWhenArgumentMatchesName: true, includeInlayFunctionParameterTypeHints: true, includeInlayVariableTypeHints: true, includeInlayPropertyDeclarationTypeHints: true, includeInlayFunctionLikeReturnTypeHints: true, includeInlayEnumMemberValueHints: true });
    • ➕ adds support for bracket pair highlighting, which can be enabled by configuring bracketPairColorization.enabled when creating a new editor:

      var editor = monaco.editor.create(document.getElementById('container'), {
      model: model,
      language: 'javascript',
      "bracketPairColorization.enabled": true,
      });
      
    • 📇 registerCodeActionProvider now accepts metadata to specify provided code action kinds (e.g. quickfix, refactor or source).

    Thank you

    Contributions to monaco-editor:

    Contributions to monaco-html:

    Contributions to monaco-languages:

    Contributions to monaco-typescript: