Closed gianpaj closed 5 years ago
https://github.com/nosqlclient/nosqlclient has field autocomplete.
Field autocompletion would be a helpful feature, but since MongoDB currently doesn't have a catalog for collection schema this would require regular schema analysis to infer available fields.
I'm also not sure if tab completion of function parameters is possible in the current mongo
shell without modifications to the C++ line handling. Mongo Hacker is limited to augmenting existing behavior using JavaScript.
Unfortunately I think this level of magic is outside the scope of what can easily be achieved in Mongo Hacker and would be better handled in a full shell implementation.
Regards, Stennie
Imagine you have a document like this:
Wouldn't it be amazing if you could start typing a field, form example
user..
press Tab and boom! it autocompletes?! ✨