Add ability to connect from a VSCode URI link

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.13.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Not Needed
    • Developer Tools

      We should consider adding the ability to launch a pre-filled connection prompt from a URL. We'd likely want to prompt the user to confirm before connecting to prevent potential security risks.

      This would be accomplished by defining a UriHandler and handling a specific URI scheme such as `/connect?connectionString=....`. Example of usage in another extension: https://github.com/vadimcn/codelldb/blob/e5aef55fd68b54f9f33c7c293e0321d7f6396be8/extension/externalLaunch.ts#L9C41-L9C51

      This would benefit cross-tool experience; as was the request from Atlas CLI team:

      Context: Our goal is to provide a seamless end-to-end experience for users. We want users to set up their deployments using AtlasCLI, and then automatically connect to them using MongoDB for VSCode.

       

            Assignee:
            Nikola Irinchev
            Reporter:
            Gagik Amaryan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: