-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REPL tab completion #10
Comments
As a new rustacean 🦀 this issue seems quite interesting to begin with, but I might need some hand-holding 😅 Some initial thoughts on implementing this:
Also would like to know, if the goal with jstime's repl is to do things that the nodejs repl does - for eg. |
Perhaps starting with the global variable could be a good way to carve out the functionality. TBH I'm not entirely sure how to get the contextual values, perhaps the completion could be updated after each execution of the repl? As per other functionality like .exit or .clear, totally open to those! |
W.r.t globalProps, should we try to use rusty_v8 bindings (or) do About contextual tab-completion, curious how completion would work after execution, especially when tab-completion for methods / properties on predefined variables, like: Probably a v8 binding call that can be used to list down all the methods / properties that a variable supports? Would have to look into the right v8 calls, based on a variable's type. |
Tab completion in the REPL would be quite nice
The text was updated successfully, but these errors were encountered: