Skip to content

[Feature Request] Add autocomplete to the editor #56

@zhuangzhuang

Description

@zhuangzhuang

Is your feature request related to a problem? Please describe.

  1. 这tmd也太大了, 能精简还是精简下
    image

  2. 去掉ace支持, 已经用了微软的 monaco package里就不要在ace了

  3. 加点自动补全吧, 已经有大微软的moaco支持, 在上面加个补全不就是分分钟的事.
    可以参考 https://playground.babylonjs.com/ 也是支持线上javascript编辑的, 然后自动补全的
    具体用法就是编译出 .d.ts文件 然后
    https://github.com/BabylonJS/Babylon.js/blob/master/Playground/src/tools/monacoManager.ts#L373
    就可以了, 顺便类型上加下函数说明吧, 自动文档也有了
    (ps: package依赖实在太大, 下了半天下载不下来, 不然我就提交pr了)

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions