cpeditor
cpeditor copied to clipboard
Find + Replace in Selection
Is there an existing issue for this?
- [X] I have searched the existing issues
Is this feature provided in the master branch?
- [X] I have checked the changelog
The problem you are facing
I sometimes want to only replace variable names within a certain method/portion of code.
Describe the feature you'd like
It would be nice if you could add a Find + Replace within the current selection i.e. only within the highlighted portion.
Describe alternatives you've considered
No response
Are you willing to contribute to this?
- [ ] I'm ready to contribute to this (and will open a PR soon)
- [ ] I'd like to have a try (with the help of the maintainers)
- [X] No, thanks
Anything else?
No response
Currently, you can copy the selected text to a new tab to use replace all
. Editors will remember the selection for each tab, which allows you to copy them back quickly. Of course, this is just a temporary solution.
@neko-para I would like to work on this enhancement if no one else is working on it. Thanks!