How to add sonarlint in spacemacs #15466
-
Hello there, I'm new in spacemacs and I've used spacemacs for java projects, I could config this using lsp, but I wish add sonarlint in spacemacs because is a good tool to programming. I've seen in github a way to add sonarlint in emacs (this link https://github.com/emacs-lsp/lsp-sonarlint), I could install this and I've added in additional-packages but spacemacs can't return suggestions or sonar's rules. dotspacemacs-additional-packages '(
multiple-cursors
lsp-sonarlint
) And, when I try to add (require 'lsp-sonarlint)
(require 'lsp-sonarlint-java)
(setq lsp-sonarlint-java-enabled t) in user config, lsp-java crashed and this doesn't work fine. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
try (use-package 'lsp-sonarlint
:defer t)
(use-package 'lsp-sonarlint-java
:after lsp-java)
:custom (lsp-sonarlint-java-enabled t)) |
Beta Was this translation helpful? Give feedback.
try