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.

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".

| improve this answer | |
  • 1
    could be nice if Geany developers rename "save as ..." to "save as/rename" – Woeitg Nov 28 '16 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) – Hartmut P. Apr 7 '18 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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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