Skip to content

Feature Request: import connections from JSON file #1105

@hagabaka

Description

@hagabaka

Feature Request

Detailed Description

I would like to request a feature to import multiple connections listed in a JSON file. The file format could be compatible with MongoDB Compass's exported connections.json file.

Context

I interact with several databases, and have them saved in MongoDB Compass. I exported the connections in a file, and would like to use the same connections in the VSCode extension, however it is not supported.

I used "Preset Connections" to add a few connections, but since this setting only supports name and connectionString, I can't add connections that rely on SSH tunnels.

Possible Implementation

  • Provide a way to directly import connections.json exported by Compass
  • Provide a way to edit saved connections as a JSON file, preferably in the same format as Compass exported connections
  • Allow preset connections to use the same syntax as Compass exported connections, so that they can specify SSH tunneling and other connection settings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions