wren-lang / wren-cli

A command line tool for the Wren programming language
MIT License
129 stars 30 forks source link

[RFC] Core library autocomplete of static methods #73

Open joshgoebel opened 3 years ago

joshgoebel commented 3 years ago

Thought: Since the core library is so small... could we just hard-code the list of all static methods so that not only could you auto-complete module names, but you could also auto-complete the methods also well?

clsource commented 3 years ago

This can be achieved by using the new attributes https://wren.io/classes.html#attributes and then the REPL could fetch them and show them 👍