Monaco Editor 0.14.2 发布,微软开源的代码编辑器

2018年08月12日

Monaco Editor 0.14.2 已发布,这是针对刚刚发布的 0.14 的修复版本。

0.14.2 更新日志:

0.14.0 更新日志:

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: scrollBeyondLastColumnhoversuggesthighlightActiveIndentGuideshowUnused.

  • Added setTokensProvider with EncodedTokensProvider.

  • Added monaco.languages.getEncodedLanguageId to get the numeric language id.

  • DefinitionProvider.provideDefinitionImplementationProvider.provideImplementationTypeDefinitionProvider.provideTypeDefinition can now return a DefinitionLink.

Breaking Changes

  • Removed no longer used Severity.

  • Renamed IEditor.isFocused to IEditor.hasTextFocus.

  • Renamed ICodeEditor.onDidFocusEditor to ICodeEditor.onDidFocusEditorWidget.

  • Renamed ICodeEditor.onDidBlurEditor to ICodeEditor.onDidBlurEditorWidget.

  • DocumentSymbolProvider.provideDocumentSymbols must now return DocumentSymbol[].

CHANGELOG

Monaco Editor 是微软开源的基于 VS Code 的代码编辑器。


源码下载:

展开阅读全文
11 收藏
分享
加载中
最新评论 (1)
“Monaco Editor 是微软开源的基于 VS Code 的代码编辑器。”写反了。VSCode 才是基于 Monaco 的。
2018-08-12 20:24
0
回复
举报
更多评论
1 评论
11 收藏
分享
返回顶部
顶部