ctrlsf.vim
ctrlsf.vim copied to clipboard
Request Change file name if changed in CtrlSF
Hello
Example usage:
I want to rename classMyClass to sth else. I have to rename the class inside every file, but I also have to rename file defining it MyClass and test for it MyClassSpec. Since that's kinda correlated, I think it would fit the plugin nicely.
If I would search for MyClass I could automatically rename file names and usages inline if changes in paths to files in CtrlSF buffer would be interpreted.
Sorry for this late reply. It's not an easy job to recognize filename change, since the lines does not always match (because ctrlsf accepts your deletion of some lines).
What file path would be prepended by File 1:, File 2: ?
It wouldn't make it less readable but would make files identifiable.
@dominikduda Not such a perfect solution. I'll consider it later, but neither the way, the implementation requires a lot of time. Thanks for your suggestion all the same.