wing
wing copied to clipboard
vscode irrelevant completion on variable definition
I tried this:
Tried to get completion for a ,variable definition:
bring cloud;
let bucket =
// ^ cursor here
This happened:
I expected this:
Expected to see the word new.
Expected to see cloud (already there).
Expected not to see assert, log, throw.
Is there a workaround?
No response
Component
IDE Extension
Wing Version
0.26.4
Node.js Version
18.15.0
Platform(s)
MacOS
Anything else?
No response
Community Notes
- Please vote by adding a 👍 reaction to the issue to help us prioritize.
- If you are interested to work on this issue, please leave a comment.
Congrats! :rocket: This was released in Wing 0.41.12.
This still shows irrelevant completions (assert, log) and doesn't show new, so I'll reopen.
I guess if we're generating autocompletions in an expression position, we could filter out functions whose return type is void perhaps?
I guess if we're generating autocompletions in an expression position, we could filter out functions whose return type is
voidperhaps?
Yeah that's what it says below this issue in this PR's description, maybe it was reverted somehow?
Thanks for reopening, it's a bug with the implementation. Looks like it only works when there is something after the completion
Hi,
This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Hi,
This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Hi,
This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!