You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*xref* buffers support xref-query-replace-in-results command, which renames the symbol in the list matches as requested.
This command seems to be broken in the *xref* buffers created specifically by lsp-find-references, at least with lsp-clangd, at least for me:)
When I use xref-find-references with the default (etags) backend instead of the backend provided by lsp-mode, xref-query-replace-in-results works well.
Steps to reproduce
Open a C project
Place the cursor over any symbol
Execute either lsp-find-references or xref-find-references command
From *xref* buffer, execute xref-query-replace-in-results (bound to r key by default)
At the second prompt, type any new name
Get a "No suitable matches here" message
Expected behavior
xref-query-replace-in-results should perform the renaming inside each listed match.
Which Language Server did you use?
lsp-clangd
OS
Linux
Error callstack
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Thank you for the bug report
lsp-mode
related packages.where
lsp-start-plain.el
can be downloaded here.Bug description
*xref*
buffers supportxref-query-replace-in-results
command, which renames the symbol in the list matches as requested.This command seems to be broken in the
*xref*
buffers created specifically bylsp-find-references
, at least withlsp-clangd
, at least for me:)When I use
xref-find-references
with the default (etags) backend instead of the backend provided bylsp-mode
,xref-query-replace-in-results
works well.Steps to reproduce
lsp-find-references
orxref-find-references
command*xref*
buffer, executexref-query-replace-in-results
(bound tor
key by default)Expected behavior
xref-query-replace-in-results
should perform the renaming inside each listed match.Which Language Server did you use?
lsp-clangd
OS
Linux
Error callstack
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: