1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Monaco Editor 0.5 发布,微软开源的代码编辑器 下载

本帖由 漂亮的石头2016-06-25 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,720
    赞:
    47
    Monaco Editor 0.5 发布了,Monaco Editor 是微软开源的基于 VS Code 的代码编辑器。

    主要更新如下:

    重大更新


    • monaco.editor.createWebWorker now loads the AMD module and calls create and passes in as first argument a context of type monaco.worker.IWorkerContext and as second argument the initData. This breaking change was needed to allow handling the case of misconfigured web workers (running on a file protocol or the cross-domain case)


    • the CodeActionProvider.provideCodeActions now gets passed in a CodeActionContext that contains the markers at the relevant range.


    • the hoverMessage of a decoration is now a MarkedString | MarkedString[]


    • the contents of a Hover returned by a HoverProvider is now a MarkedString | MarkedString[]


    • removed deprecated IEditor.onDidChangeModelRawContent, IModel.onDidChangeRawContent
    值得注意的修复


    • Broken configurations (loading from file:// or misconfigured cross-domain loading) now load the web worker code in the UI thread. This caused a breaking change in the behaviour of monaco.editor.createWebWorker


    • The right-pointing mouse pointer is oversized in high DPI - issue


    • The editor functions now correctly when hosted inside a position:fixed element.


    • Cross origin configuration is now picked up (as advertised in documentation from MonacoEnvironment)
    下载地址:

    Monaco Editor 0.5 发布,微软开源的代码编辑器下载地址
     
正在加载...