8000 GitHub - emacsmirror/consult-lsp: LSP-mode Consult integration
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

emacsmirror/consult-lsp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Consult LSP-mode integration

MELPA MELPA Stable

Introduction

Helm and Ivy users have extra commands that leverage lsp-mode extra information, let’s try to mimic a few features of helm-lsp and lsp-ivy in consult workflow (tested only with selectrum for the time being)

Screenshots

https://github.com/gagbo/consult-lsp/blob/screenshots/media/consult-lsp-diagnostics.png?raw=true

https://github.com/gagbo/consult-lsp/blob/screenshots/media/consult-lsp-symbols.png?raw=true

Commands

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!

Configuration

As you can do with helm-lsp,

Use the following line to replace xref-find-apropos in lsp-mode controlled buffers:

(define-key lsp-mode-map [remap xref-find-apropos] #'consult-lsp-symbols)

About

LSP-mode Consult integration

Resources

License

Stars

0 stars 4A9E

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Languages

  • Emacs Lisp 100.0%
0