|
Being the AC system a library or an external system like a Language Server shapes the different options to handle the connections to MongoDB to get additional context for the autocompletion.
There are different alternatives, as listed here:
- The tool will open and use it's own MongoDB connection.
- The tool will receive a facade to the MongoDB connection, if possible (like in a library).
- The tool won't use MongoDB directly, but expose a way to provide all necessary context from outside.
However, other options are also likely to be possible.
|