Monaco Editor v0.14.0 Release Notes
-
π New & Noteworthy
- Using tree-shaking to reduce the amount of shipped code.
- TypeScript and JavaScript coloring is now done with Monarch.
- π»
typescriptServices
is no longer loaded on the UI thread, this helps with webpack's bundle output size. - β Added coloring for: apex, azcli, clojure, powerquery, rust, scheme and shell.
- β Added sub-word navigation commands.
- β Added font zoom commands.
- Syntax highlighting for deleted lines in inline diff editor.
- Highlighted indent guide.
- Column selection using middle mouse button.
- β Added editor options:
scrollBeyondLastColumn
,hover
,suggest
,highlightActiveIndentGuide
,showUnused
. - β Added
setTokensProvider
withEncodedTokensProvider
. - β Added
monaco.languages.getEncodedLanguageId
to get the numeric language id. DefinitionProvider.provideDefinition
,ImplementationProvider.provideImplementation
,TypeDefinitionProvider.provideTypeDefinition
can now return aDefinitionLink
.
π₯ Breaking Changes
- β Removed no longer used
Severity
. - π Renamed
IEditor.isFocused
toIEditor.hasTextFocus
. - π Renamed
ICodeEditor.onDidFocusEditor
toICodeEditor.onDidFocusEditorWidget
. - π Renamed
ICodeEditor.onDidBlurEditor
toICodeEditor.onDidBlurEditorWidget
. DocumentSymbolProvider.provideDocumentSymbols
must now returnDocumentSymbol[]
.
Thank you
Contributions to
monaco-editor
:- Ali Mirlou (@AliMirlou): Fix typo PR #952
- Avelino (@avelino): added clojure exampple PR #904
- π SebastiΓ‘n Gurin (@cancerberoSgx): fix small error in integration docs PR #957
- Haegyun Jung (@haeguri): Fix playground sample option PR #962 (https://github.com/Microsoft/monaco-editor/pull/914)
- Myles Scolnick (@mscolnick): add sideEffects false for tree-shaking in webpack PR #981
- Niklas Mollenhauer (@nikeee): Fix hash comment in xdot sample PR #916
- Remy Suen (@rcjsuen): Add folding provider sample to the playground [PR #878](https://github.com/Microsoft/monaco-
Contributions to
monaco-typescript
:- Fathy Boundjadj (@fathyb): Use Markdown code block for hover tooltip PR #20
- π§ Matt McCutchen (@mattmccutchen): Clear the
file
fields ofrelatedInformation
too. (WIP) PR #21
Contributions to
monaco-languages
:- Avelino (@avelino)
- Faris Masad (@masad-frost)
- π Matt Masson (@mattmasson): Add support for Power Query (M) language PR #42
- Oli Lane (@olane): Add Apex language PR #44
- Viktar Pakanechny (@Vityanchys): Added azcli PR #43
- zqlu (@zqlu)