-
Notifications
You must be signed in to change notification settings - Fork 109
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
Automatic completion? #52
Comments
There is an issue (#18) for adding support for emitting events so you can plugin into jqconsole and do things like tab completion. Needless to say, I haven't found the time to implement that. You have two options:
If you go withe second option, it could be something like triggering an event before handling the key. And then checking if default was prevented on the event:
|
@amasad is it really doable with only those few lines? |
I can't remember, I haven't looked at this in a long time |
Yes it is PR #81 :) |
I'm using this on a project that needs an in-browser javascript repl, and would like to add tab completion support.
After a quick search I didn't found any simple solution, so I will probably have to implement it from the scratch.
Could you give any hint/example of how this can be achieved?
The text was updated successfully, but these errors were encountered: