helm-xref icon indicating copy to clipboard operation
helm-xref copied to clipboard

Feature request: helm-xref-edit

Open dscole opened this issue 6 years ago • 5 comments

It would be great to have a helm-xref-edit command like the helm-ag-edit, which would allow you to edit all the lines found by helm-xref in a new buffer.

dscole avatar Oct 23 '18 15:10 dscole

Which languages do you use ? This feature is provided by lsp clients. Do you use eglot or lsp-mode ?

brotzeit avatar Oct 23 '18 16:10 brotzeit

c++ with lsp-mode

dscole avatar Oct 23 '18 19:10 dscole

Did you try lsp-rename ?

brotzeit avatar Oct 23 '18 19:10 brotzeit

I don't want to rename it. Lets say I want to change a pointer to a reference, I need to replace all -> with .. You can't do that with a rename.

Right now I have to resort to renaming the symbol to something ridiculous "make_this_symbol_easy_to_find". And then I can use helm-ag with helm-ag-edit to actual do what I want to do.

dscole avatar Oct 23 '18 19:10 dscole

Ok. I use helm-ag myself, but I don't know anything about the internals. And this looks like it will take some time.

brotzeit avatar Oct 23 '18 20:10 brotzeit