thoni56 / c-xrefactory

A refactoring tool for C/Yacc and Emacs. The first tool to cross Refactory Rubicon. Initial work, and released under GPL in 2009, by Marián Vittek.
https://thoni56.github.io/c-xrefactory/
GNU General Public License v2.0
23 stars 4 forks source link

Rename file #55

Closed thoni56 closed 1 year ago

thoni56 commented 4 years ago

For C a refactoring I miss is "Rename file". It would not only rename the file, but also fixup all the includes that are referencing the file.

Actually, an even better version of this would be "Rename module". Often a C "module" has a '.h' and a '.c' file and inside the header file there is something like

#ifndef _MODULE_H_
#define _MODULE_H_

Renaming all of these in a single swoop would be cool.

shanemd commented 1 year ago

Duplicate of #48?

thoni56 commented 1 year ago

Thanks for pointing that out!