Skip to content

[WIP DO NOT MERGE] Autocomplete2 demo #531

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

Draft
wants to merge 60 commits into
base: main
Choose a base branch
from
Draft

Conversation

lerouxb
Copy link
Collaborator

@lerouxb lerouxb commented May 2, 2025

This is these branches merged together to do an end to end in progress demo in Mongosh:

I have also added the rs, sh and sp globals which I'll have to backport.

TODO:

  • Modify shell-api to use the mql types. Then hopefully we can start to autocomplete known collection field names.
  • maybe the filtering/sorting of autocompletion results should happen here and not in mongosh. That way we can also make it smarter without breaking interface changes that cross repos.
  • also try and add the method comments to the autocomplete result. We probably won't display it in mongosh yet, but we're more likely to in compass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants