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: helm-xref-edit #12

Open
dscole opened this issue Oct 23, 2018 · 5 comments
Open

Feature request: helm-xref-edit #12

dscole opened this issue Oct 23, 2018 · 5 comments

Comments

@dscole
Copy link

dscole commented Oct 23, 2018

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.

@brotzeit
Copy link
Owner

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

@dscole
Copy link
Author

dscole commented Oct 23, 2018

c++ with lsp-mode

@brotzeit
Copy link
Owner

Did you try lsp-rename ?

@dscole
Copy link
Author

dscole commented Oct 23, 2018

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.

@brotzeit
Copy link
Owner

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

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