-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Bad tab completion for object properties with special characters #21201
Labels
Comments
addaleax
added
confirmed-bug
Issues with confirmed bugs.
repl
Issues and PRs related to the REPL subsystem.
labels
Jun 7, 2018
@nodejs/repl |
what i did in my repl prototype to fix this was amend our autocomplete regex to allow i don't know how well this will mesh into our current repl code. |
@devsnek did you look into it? Was there any progress? |
3 tasks
starkwang
added a commit
to starkwang/node
that referenced
this issue
Jul 2, 2018
The old RegExp will pass property names like `"hello world!"` when filtering the results of tab complete. This change is to fix it. Fixes: nodejs#21201
targos
pushed a commit
that referenced
this issue
Jul 3, 2018
The old RegExp will pass property names like `"hello world!"` when filtering the results of tab complete. This change is to fix it. Fixes: #21201 PR-URL: #21556 Fixes: #21201 Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: John-David Dalton <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
v8.11.0
Linux fedora-thinkpad 4.13.9-300.fc27.x86_64 #1 SMP Mon Oct 23 13:41:58 UTC
When an object has special characters as one of it's properties, node will autocomplete that property, but continue waiting for input (as the completed property is invalid syntax). This is not desired behaviour.
This issue is also present in Firefox, but not in Chrome.
The text was updated successfully, but these errors were encountered: