projectile icon indicating copy to clipboard operation
projectile copied to clipboard

Show list of replaces

Open FStefanni opened this issue 11 months ago • 2 comments

Hi,

when I execute projectile-find-file, a list of matches shows up in a separate buffer (maybe because I use also helm?). It would b nice to have the same feature also when I run commands as projectile-replace-regexp. So that we can inspect matches, apply them also not in order, etc.

Is it possible?

Thank you, regards

FStefanni avatar Jan 19 '25 16:01 FStefanni

Not sure how easy it'd be to do something like this, as Projectile mostly delegates to built-in Emacs functionality like fileloop in the projectile-replace-* commands. A better UI work require this approach to be reworked.

bbatsov avatar Jan 28 '25 13:01 bbatsov

Hi,

I understand. To be very honest: I used Emacs a lot many years ago, just now I am trying to switch back for many reasons. But I have found that Emacs is still lacking a lot of usability improvements that are a given in basically all the IDEs. The one here proposed in this view: trying to make Emacs a valid alternative to other IDE's.

Regarding the proposed feature, for example compare with what VS Code does. You can jump around matches, and apply the changes only to some, and remove from the list of matches to hide some of them, etc. Very useful since usually actually interesting matches are a subset of the ones found in large projects.

But I understand that implementing new features can be very hard and time consuming.

Regards

FStefanni avatar Jan 29 '25 07:01 FStefanni