Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

monaco-editor

Package Overview
Dependencies
Maintainers
0
Versions
843
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monaco-editor - npm Package Versions

1
85

0.28.0

Diff

Changelog

Source

[0.28.0] (22.09.2021)

  • adds support for typescript inlay hints. Inlay hints can be enabled like this:
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:

hediet-msft
published 0.27.0 •

Changelog

Source

[0.27.0] (16.08.2021)

  • added property inlineClassName to style injected text
  • added option foldingImportsByDefault
  • added more JSON diagnostic options.

Breaking Change

  • changed seedSearchStringFromSelection from boolean to 'never' | 'always' 'selection'
  • changed suggestion preview mode subwordDiff to subwordSmart, introduced subword

Thank you

Contributions to monaco-editor:

Contributions to monaco-languages:

hediet-msft
published 0.26.1 •

Changelog

Source

[0.26.1] (15.07.2021)

hediet-msft
published 0.26.0 •

Changelog

Source

[0.26.0] (15.07.2021)

  • added support for injected text. Use IModelDecorationOptions.before/after.
  • added support for inlay hints provider.

Breaking Changes

  • CompletionItemLabel now has the property label, detail and description (instead of name, parameters, qualifier and type).

Thank you

Contributions to monaco-editor:

Contributions to monaco-languages:

Contributions to monaco-typescript:

hediet-msft
published 0.25.2 •

Changelog

Source

[0.25.2] (17.06.2021)

hediet-msft
published 0.25.0 •

Changelog

Source

[0.25.0] (11.06.2021)

  • added a new feature inlineSuggest that features a provider api and new settings.
  • added suggest.preview to toggle previewing the selected suggest item.
  • added suggest.showDeprecated
  • CSS/HTML: added support for custom data format
  • HTML: added registerHTMLLanguageService

Breaking changes

  • renamed inlineHints to inlayHints.

Thank you

Contributions to monaco-editor:

Contributions to monaco-languages:

Contributions to monaco-typescript:

alexandrudima
published 0.24.0 •

Changelog

Source

[0.24.0] (12.05.2021)

  • added a setting domReadOnly which controls if the <textarea> used for editor input should have the DOM readonly attribute
  • added a setting useShadowDOM which can be set to false to prevent the editor from using shadow DOM in its implementation (e.g. for the contextmenus).
  • added a settings autoClosingDelete that controls how backspace works inside auto-closing pairs.
  • added DiagnosticsOptions.onlyVisible for TypeScript which limits the computation of diagnostics to only visible text models.
  • fixed issue where the editor would not load in Safari 13.

Breaking changes

  • EditorAutoClosingOvertypeStrategy has been renamed to EditorAutoClosingEditStrategy

Thank you

Contributions to monaco-editor:

Contributions to monaco-editor-webpack-plugin:

Contributions to monaco-languages:

Contributions to monaco-typescript:

alexandrudima
published 0.23.0 •

Changelog

Source

[0.23.0] (05.03.2021)

  • improves input on Android (using Gboard)
  • automatically switches to high contrast when the OS is using high contrast (doesn't work in Firefox). Can be turned off via autoDetectHighContrast.
  • the editor no longer supports classical Edge, which has reached End of Support on March 9th, 2021. See https://docs.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge#what-is-the-lifecycle-policy-for-microsoft-edge

Thank you

Contributions to monaco-languages:

Contributions to monaco-typescript:

alexandrudima
published 0.22.3 •

Changelog

Source

[0.22.3] (01.02.2021)

Fixes a regression where symbol icons used in suggestions or quick outline were missing colors (see https://github.com/microsoft/monaco-editor/issues/2329).

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc