Hi,
I use codemirror for a python editor experience for an application I am working on.
I have seen the lang-python module in codemirror and am using that currenltly - it helps with the standard builtin keywords, indentation, etc.
I am trying to figure out if I can add type hints and autocomplete to be a bit smarter (for example use typing information). For example:
class ABC:
def xyz(self): pass
ABC.x # <--- sohuld suggest xyz as a function inside ABC
Or even better would be to use the python typing stubs and try auto completing what math.iscl
could be
I know that language servers exist for such stuff, and I guess vscode is able to do this with pylance. Jupyter seems to use jedi.
Wondering if there is anything someone has done like an example project or so to try acheiving this only in a codemirror + browser environment maybe using wasm ? (i.e. without a nodejs / server side component preferably)