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

Keep open files when creating a new project #3010

Open
cousteaulecommandant opened this issue Nov 18, 2021 · 1 comment
Open

Keep open files when creating a new project #3010

cousteaulecommandant opened this issue Nov 18, 2021 · 1 comment

Comments

@cousteaulecommandant
Copy link
Contributor

When a new project is created, the "New Project" dialog should provide an option to copy the list of open files from the current project.

Usually I find myself opening files that are not actually relevant to the currently active project, until I decide that all those files belong to a different "topic" and decide to move them to a new Geany project. The simplest way to do this is to just "clone" the project, and then close the files that are not relevant in both old and new project. Unfortunately, Geany doesn't have a "clone" or "save project as" feature (as suggested in #2206), so I have to manually copy the .geany project file, rename it, open it with my second favorite editor (can't open it with Geany) and edit the name and base path, and then proceed to close the unneeded files. Having an option to "clone" the project (either through a "Save project as" menu entry as proposed in #2206 or through a "Keep files from current project" checkbox in the "New Project" menu) would simplify this.

@xiota
Copy link
Contributor

xiota commented Nov 23, 2021

open it with my second favorite editor (can't open it with Geany)

Just drag/drop the .geany file into Geany. Then it can be edited like any other text file.

You can also just open the new file normally (as a project). Then use Project / Properties to edit the Name, Description, Base path, etc.

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