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

Copy the file and paste into the same folder #20

Open
dreamjade opened this issue Sep 29, 2023 · 1 comment
Open

Copy the file and paste into the same folder #20

dreamjade opened this issue Sep 29, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@dreamjade
Copy link

Describe your feature request:

I would like to be able to copy a file and paste it into the same folder in MarkText. This would be useful for creating new files from existing ones, or for making copies of files to edit without modifying the originals.
Like the "duplicate" method in the jupyter notebook

What problem does this feature solve?

Currently, the only way to copy and paste a file in MarkText is to copy it to the clipboard and then create a new file in the desired folder and paste the contents of the clipboard into it. This is a two-step process that can be tedious if you need to copy and paste multiple files.

Additional context:

  • Here are some possible ways to implement this feature:
    Allow users to right-click on a file in MarkText and then drag it to the desired location in the same folder to create a copy of the file.
    I hope you will consider adding this feature to MarkText. It would be a very useful addition for many users.

  • Additionally:
    To rename the newly created file, you could add a dialog box that pops up after the file is copied and pasted, asking the user for a new name for the file.

@jacobwhall
Copy link
Owner

Yes, I like this idea a lot. I have many markdown templates I use from time to time, and the workflow for duplicating them within MarkText should be easy. In my view the "duplicate" action should be separate from "rename" or "move", but I welcome further discussion.

I may not get to this for a while. I welcome any PRs.

@jacobwhall jacobwhall added the help wanted Extra attention is needed label Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants