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

Feature Request - "Copy Document" option in context menu #144

Closed
jcgerhard opened this issue Jul 8, 2020 · 5 comments
Closed

Feature Request - "Copy Document" option in context menu #144

jcgerhard opened this issue Jul 8, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@jcgerhard
Copy link

Feature Request

Having a "Copy Document" option in a documents' context menu

Detailed Description

To get a more fluent way of working with a mongo instance, it would be nice to have this additional option in the mouse context menu of a document entry. Sometimes I need to duplicate documents to fill a collection with dummy data.
This feature would make it way more easy to do this.

Context

I have been working with the extension solely for a few weeks now. I really love it beacause there is no need to left VS Code to work on a database anymore. I would like to replace my mongodb client completely with this extension.
This feature would make it way more comfortable to use while working the hole day with it.

Possible Implementation

mongo-vscode-document-copy

@Anemy Anemy added the enhancement New feature or request label Jul 8, 2020
@Anemy
Copy link
Member

Anemy commented Jul 10, 2020

@jcgerhard Thanks for the solid suggestions! Happy to hear you're enjoying the extension and finding it useful.

We're doing some improvements to the tree view currently (the next version will have indexes!). I'm not sure if we'll be touching the document context menus just yet, one of the reasons we aren't jumping on it yet is because it's a bit hard to infer which document you're interacting with just based on _id. Probably once we look into #139 we can do this.

🤔 Maybe we can also have a Duplicate Document option to make the flow you're looking for a bit smoother.

We'll comment here once we've got something in progress or live. Thanks again.

@jcgerhard
Copy link
Author

A Duplicate Document option would be really fine! I try to use the extension solely during the last weeks. It's really a pleasure to stay in VS Code all the time. I am collection all the things I personally missing and will report them here as issues. But: it's a great tool just yet! Please keep up the development! I could imagine a complete client replacement.

@Anemy
Copy link
Member

Anemy commented Jun 1, 2022

Pr open from a community contributor! 🥳
#419

@Anemy
Copy link
Member

Anemy commented Jan 12, 2023

This is released in the new 0.10.0 version. Thanks for opening the issue!
https://github.com/mongodb-js/vscode/releases

@Anemy Anemy closed this as completed Jan 12, 2023
@jcgerhard
Copy link
Author

That's great! I thought this project has died. I will test it. Keep up!

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

No branches or pull requests

2 participants