This is a Work In Progress
The main command that makes LSP-mode better than eglot for me is the ability to see all the errors in one, or all workspaces. Since I use consult, let’s try to mimic a few features of helm-lsp in consult/selectrum workflow
- consult-lsp-diagnostics
- Select diagnostics from current workspace. Pass prefix argument to search all workspaces
- consult-lsp-symbols
- Select symbols from current workspace. Pass prefix argument to search all workspaces.
There is currently no plan to add an interface to list and/or act on code-actions, but contributions are welcome!
As you can do with helm-lsp,
Use the following lines to replace xref-find-apropos in lsp-mode controlled buffer.s
(define-key lsp-mode-map [remap xref-find-apropos] #'consult-lsp-symbols)