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

Request Change file name if changed in CtrlSF #247

Open
dominikduda opened this issue Sep 19, 2018 · 3 comments
Open

Request Change file name if changed in CtrlSF #247

dominikduda opened this issue Sep 19, 2018 · 3 comments

Comments

@dominikduda
Copy link

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.

@dyng
Copy link
Owner

dyng commented Oct 3, 2018

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

@dominikduda
Copy link
Author

What file path would be prepended by File 1:, File 2: ?
It wouldn't make it less readable but would make files identifiable.

@dyng
Copy link
Owner

dyng commented Oct 4, 2018

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

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