-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[fn param hints] Cannot invoke param hints with Ctrl-Shift-Space after dismissing it with Esc key. #4671
Comments
Not just dismissing with Esc key, scrolling in the editor also dismisses the param hints. After that you can't bring it back with the shortcut. |
I've always found the shortcut to be intermittent. I was hoping your fix had solved the problem. From: Raymond Lim <notifications@gitpro.ttaallkk.topmailto:notifications@github.com> Not just dismissing with Esc key, scrolling in the editor also dismiss the param hints. After that you can't bring it back with the shortcut. — |
I thought my changes also fix this, but it seems like we have something else (besides the Shift key in the shortcut) is causing param hints not to show up. You can try it out with flipping the two shortcuts -- assign Ctrl-Space to param hints and Ctrl-Shift-Space to normal JS hints -- and you will still see this issue with Ctrl-Space shortcut. I suspect some logic in JSHints.prototype.needNewHints is causing it, maybe cachedCursor or cachedHints. |
It is more reliable to invoke param hints on Mac with that shortcut, but it sometimes shows |
Here is what I'm seeing on the Mac.
|
Update: The issue depends on where you type |
"some string".
and selectcharAt
from code hints.Result: Nothing happens. If you try again after deleting the open paren with backspace and typing it, then you get the param hints.
The text was updated successfully, but these errors were encountered: