vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Skunktendo 2024: automatically detect Local Atlas

Open mmarcon opened this issue 9 months ago • 0 comments

With this PR, the VS Code extension detects local atlas environments and shows them in the list of connections so that the user does not need to pass connection strings around.

It does so by looking at the running docker containers, as that is how local atlas environments are provided.

As added bonus, connections can now be open in Compass directy from VSCode if the protocol handler is registered.

Description

Wouldn't it be nice if our dev tools delivered a unified developer experience? This is what I could come up with in the couple of free hours I had this week.

Checklist

  • [ ] New tests and/or benchmarks are included - 😂 far from that
  • [ ] Documentation is changed or added - nope, who needs documentation
  • [ ] I have signed the MongoDB Contributor License Agreement (https://www.mongodb.com/legal/contributor-agreement)

Motivation and Context

  • [ ] Bugfix
  • [x] New feature
  • [ ] Dependency update
  • [ ] Misc

Open Questions

Dependents

Types of changes

  • [ ] Backport Needed
  • [ ] Patch (non-breaking change which fixes an issue)
  • [x] Minor (non-breaking change which adds functionality)
  • [ ] Major (fix or feature that would cause existing functionality to change)

mmarcon avatar May 14 '24 12:05 mmarcon