-
Notifications
You must be signed in to change notification settings - Fork 62
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
Bug Report: Playground no longer suggests collections with a .
in the name when typing db.
#513
Comments
db.
.
in the name when typing db.
Hey, sorry to hear you are seeing troubles with completions. Trying this myself with a standalone cluster and unfortunately can not reproduce it. Which version of the extension and VSCode are you using? Do you see all these collections on the sidebar? Is any of the collections being properly completed on tab? |
Hi @alenakhineika I just updated the description. I seem to be able to isolate this to collection names with a I can see all the collections in the sidebar |
Could you try disconnecting and connecting to a cluster? I am wondering if you just created the collection and trying to use it right away. We currently do not update completions on the fly and a refresh is required to make them show up. I've just tried with the same collection name |
Hmm, it's still not working after reconnecting. I am also on MongoDB 5.0.14 |
Would be very nice if you were able to share a screen recording to see exactly what is happening (make sure that there is no sensitive information on the screen if you do the recording). |
Okay here is the reproduction video: mongo-suggestion-bug.mov |
Could you try to use Disconnect/Connect instead of Refresh? (no need to record this again) |
Disconnect and connect also did not fix it |
Thank you very much for helping to catch this bug! Was able to reproduce and created tickets:
|
This is fixed in the 1.0.1 release - thanks again for opening the issue. |
Bug Report
Current Behavior
Currently, the MongoDB playground will not suggest all the collections when typing:
Some collections are suggested, but they disappear after typing a matching string. Example:
animals.humans
is a suggested collectiondb.ani
Code/Gist
Expected Behavior/Code
Environment
Possible Solution
Previously, mongo would suggest all the collections and pressing tab would complete the expression. Example:
db.ani
animals.humans
collection is suggesteddb['animals.humans']
Additional Context/Screenshots
vscode info:
extension version:
v0.11.1
The text was updated successfully, but these errors were encountered: