For my latest anvil project, I want to include a python autocompleter in the code editor I am using (Monaco Editor).
So far, I could figure out how to do it on the server side using Jedi library. But, that produces slow results.
Instead, doing it on the client side would be much more convenient. I know that it is possible with Skulpt because Anvil already does it (Building a Python Autocompleter). However, I couldn’t figure out the “how” part.
Probably the first step I am looking for is this syntax tree that was shown in the talk.
ast
is not implemented in skulpt yet. So how do I get this kind of tree? Is this possible in skulpt yet? Or was this something that was internally built in Anvil Editor?