Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Typing just "." offers completion #415

Closed
jakebailey opened this issue Nov 19, 2018 · 3 comments
Closed

Typing just "." offers completion #415

jakebailey opened this issue Nov 19, 2018 · 3 comments
Labels
gen from the generated tests

Comments

@jakebailey
Copy link
Member

image

Also happens when you do something like -. or *., all of which is a little goofy. This is probably happening because it's not finding any nodes when looking up the location in the AST and therefore treated like completion on an empty line or similar.

Found in #334.

@MikhailArkhipov
Copy link

This is VS Code feature. We do not trigger anything, VS Code does. We could look into the trigger character theoretically, but, IMO, this is just a cosmetic issue.

@jakebailey
Copy link
Member Author

I understand that VSC is what's sending the request for completion, but I'd be curious to know why we actually return something, rather than to, say, look behind the ., find nothing, so return nothing. (Not to mention how interesting it is that everything that is suggested is some derivative of Exception.)

@jakebailey
Copy link
Member Author

Closing this, since #546 doesn't exhibit this behavior.

dot

@jakebailey jakebailey added the gen from the generated tests label Sep 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
gen from the generated tests
Projects
None yet
Development

No branches or pull requests

2 participants