Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question #762

Closed
MilanNemeth-Eviden opened this issue Jul 17, 2024 · 3 comments
Closed

Question #762

MilanNemeth-Eviden opened this issue Jul 17, 2024 · 3 comments

Comments

@MilanNemeth-Eviden
Copy link

I want to save my connection into the workspace settings.

I can't find the Hide Option To Choose Where To Save New Connections setting nor the option itself anywhere, so the Default Connection Saving Location also doesn't take effect. How can I achieve saving the connection in the workspace?

I'd just like to be able to save my connection as a setting, so my coworkers won't have to set it up manually. How can I achieve this?

@alenakhineika
Copy link
Contributor

Hey, the extension settings can be opened via Code -> Settings... in the Menu, then search my mongodb. There will be the Mdb › Connection Saving: Default Connection Saving Location dropdown or the mdb.connectionSaving.defaultConnectionSavingLocation json setting to set your default saving location. I just tried with the extension v1.6.1 and when I entered a new connection via the command palette or connection form it didn't ask to specify a location for each new connection, but used a default setting instead. Could you check if this workflow works for you and that you are on the latest version of the extension? If you still have the issue, could you provide more detailed steps to reproduce? Thx in advance!

@MilanNemeth-Eviden
Copy link
Author

@alenakhineika you're right. For some reason, I've expected that the connection will be stored in the workspace's settings.json, so I could be able to commit it in source control, or set it up in a devcontainer.json, but that's not the case, and now, after reading the docs back and forth many times, I'm pretty sure that there's no solution to my original issue, which was sharing my connection settings with others without the need of any kind of further manual intervention.

@alenakhineika
Copy link
Contributor

We have actually received a similar feature request before #368. Please share this idea on our feedback forum. If it garners enough votes, we can prioritize it in our development schedule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants