7

Geany is a text editor with tabs: Geany tabs

Is there a plugin or trick that would enable me to rename files?

For instance I would like to easily rename editor.c to viewer.c

  • Without having to close/reopen the file
  • Without having to switch away from the Geany window

No obvious match among at http://plugins.geany.org

Bonus if I can also move files to a different directory, but just name would be already great.
"Save as" is not a good option as it does not delete the previous file.

2 Answers 2

8

There is no need for a plugin.

In the Save as … window, there are three buttons: "Rename", "Cancel" and "Save".

Try using the Rename button instead of "Save".

2
  • 1
    could be nice if Geany developers rename "save as ..." to "save as/rename"
    – Sadegh
    Nov 28, 2016 at 10:44
  • If there is a change on the code base, I propose removing the Rename button and doing an Rename implicitly on save when the name is changing (following the notepad++ behavior) Apr 7, 2018 at 17:53
1

In the tree browser plugin (Menu Tools -> Plugin Manager) you can do a rename on the file by selecting it and right-click (context menu -> Rename).

Don't forget to enable sidebar: Menu View -> Show Sidebar

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.