monaco-editor
Advanced tools
Changelog
[0.28.0] (22.09.2021)
monaco.languages.typescript.typescriptDefaults.setInlayHintsOptions({
includeInlayParameterNameHints: 'all',
includeInlayParameterNameHintsWhenArgumentMatchesName: true,
includeInlayFunctionParameterTypeHints: true,
includeInlayVariableTypeHints: true,
includeInlayPropertyDeclarationTypeHints: true,
includeInlayFunctionLikeReturnTypeHints: true,
includeInlayEnumMemberValueHints: true
});
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
).Contributions to monaco-editor
:
Contributions to monaco-html
:
Contributions to monaco-languages
:
Contributions to monaco-typescript
:
Changelog
[0.27.0] (16.08.2021)
inlineClassName
to style injected textfoldingImportsByDefault
seedSearchStringFromSelection
from boolean to 'never' | 'always' 'selection'
subwordDiff
to subwordSmart
, introduced subword
Contributions to monaco-editor
:
Contributions to monaco-languages
:
strict
keyword to Pascal language PR #153Changelog
[0.26.1] (15.07.2021)
Changelog
[0.26.0] (15.07.2021)
IModelDecorationOptions.before
/after
.label
, detail
and description
(instead of name
, parameters
, qualifier
and type
).Contributions to monaco-editor
:
Contributions to monaco-languages
:
Contributions to monaco-typescript
:
Changelog
[0.25.2] (17.06.2021)
Changelog
[0.25.0] (11.06.2021)
inlineSuggest
that features a provider api and new settings.suggest.preview
to toggle previewing the selected suggest item.suggest.showDeprecated
registerHTMLLanguageService
inlineHints
to inlayHints
.Contributions to monaco-editor
:
Contributions to monaco-languages
:
Contributions to monaco-typescript
:
Changelog
[0.24.0] (12.05.2021)
domReadOnly
which controls if the <textarea>
used for editor input should have the DOM readonly
attributeuseShadowDOM
which can be set to false
to prevent the editor from using shadow DOM in its implementation (e.g. for the contextmenus).autoClosingDelete
that controls how backspace works inside auto-closing pairs.DiagnosticsOptions.onlyVisible
for TypeScript which limits the computation of diagnostics to only visible text models.EditorAutoClosingOvertypeStrategy
has been renamed to EditorAutoClosingEditStrategy
Contributions to monaco-editor
:
Contributions to monaco-editor-webpack-plugin
:
Contributions to monaco-languages
:
Contributions to monaco-typescript
:
Changelog
[0.23.0] (05.03.2021)
autoDetectHighContrast
.Contributions to monaco-languages
:
Contributions to monaco-typescript
:
Changelog
[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).