deepforge
deepforge copied to clipboard
code editor type inference
To support more robust autocomplete in the code editors, we should use type inference before determining the possible completions
This could be achieved by integrating python language server support.
I have been looking into https://github.com/microsoft/monaco-editor. This editor is a shimmed editor from VSCode sources and runs on browsers (no mobile device support), has some documentation and examples and provides support for syntax highlighting for the languages we use. Instead of writing a completer logic for ace
we could develop a monaco text editor (should not be that difficult to do as a lot of out of box defaults would work for our case) See (https://github.com/Microsoft/monaco-editor/issues/19).
A languge server client for Monaco editor has been developed here.
Another related project: https://github.com/eclipse-theia/theia
This issue needs to be broken down into two different issues.
- Integrate Monaco TextEditor. (This issue)
- Integrate a python language server with MonacoTextEditor