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

[Feature Request] Find and replace in all entities of a message browser #17857

Open
jecisc opened this issue Feb 20, 2025 · 1 comment
Open

Comments

@jecisc
Copy link
Member

jecisc commented Feb 20, 2025

I often have the case that I want to update the code of multiple methods in the same way.

For example, I am currently replacing some string copyReplaceAll: String cr with: String lf by string withPlatformLineEnding to fix a bug breaking some tests on windows and I have 33 occurrences.

I think it would be great to extend the Find and replace to be able to work on a larger scope. Instead of working in just one method, I would like it to work on all the methods of a Message browser.

For example here I could just have looked for the senders of copyReplaceAll:with: and add a filter with the name of my package and do a find and replace in all the results in the list

@Ducasse
Copy link
Member

Ducasse commented Feb 22, 2025

Yes but first it should be the Spec one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants