/helm-lsp

lsp-mode :heart: helm

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

Helm lsp integration

https://melpa.org/packages/helm-lsp-badge.svg https://stable.melpa.org/packages/helm-lsp-badge.svg https://github.com/emacs-lsp/helm-lsp/actions/workflows/test.yml/badge.svg

This package provides alternative of the build-in lsp-mode xref-appropos which provides as you type completion.

Screenshot

demo.png

Commands

  • helm-lsp-workspace-symbol - workspace symbols for the current workspace
  • helm-lsp-global-workspace-symbol - workspace symbols from all of the active workspaces.
  • helm-lsp-code-actions - helm interface to lsp-execute-code-action.
  • helm-lsp-switch-project - switch lsp-mode project (when helm-projectile is present)
  • helm-lsp-diagnostics - browse the errors in the project. Sample query: *err #Test.js Foo Bar will return all of the errors which message contains Foo and Bar, it is in file Test.js and its severity is error

Configuration

Use the following lines to replace xref-find-apropos in lsp-mode controlled buffer.s

(define-key lsp-mode-map [remap xref-find-apropos] #'helm-lsp-workspace-symbol)