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
LSP cannot get completion info when file has using
or await using
declaration
#23688
Labels
bug
Something isn't working
Comments
Key point:
|
dsherret
added a commit
that referenced
this issue
May 9, 2024
dsherret
added a commit
that referenced
this issue
May 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: Deno 1.43.1
Hello! I'm using the new explicit resource management proposals in tests, and the language server returns an error whenever a
using
orawait using
declaration is made.Error from VSCode:
Minimal example:
Requesting completions from the LSP in the code above will silently fail and will only succeed when automatically called; for example, completion fails when typing "resource" inside the test function, but completions load properly for "resource." (ie when trying to access a property). Tests still pass as expected, this seems to only be an LSP issue.
EDIT: Possibly a duplicate of #22392
The text was updated successfully, but these errors were encountered: