-
Notifications
You must be signed in to change notification settings - Fork 37
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 improvements #496
Comments
About 2, is that works only for predefined funs and vars? Or, works exactly like typical code completion in VSCode, etc.? |
Works exactly like VSCode. |
It doesn't seem easy with JerryScript API. Any ideas are welcome. |
I'm no C expert sadly, maybe the answer is in the Espruino codebase. Looking at the Jerryscript api, there is the ability to look at types and enumerate their properties. There is also a context: So. presumably given the context, and the ability to enumerate the properties of an object tab completion should be possible, no? |
For the feature I think it is required to build partial AST (parsing incomplete JS expression). |
The text was updated successfully, but these errors were encountered: