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
Starting new Ispell process /usr/bin/aspell with british dictionary...
File mode specification error: (error javacomp: Cannot communicate with the process (exit))
LSP :: javacomp has exited (exited abnormally with code 1)
Server javacomp:25796 status:starting exited with status exit. Do you want to restart it? (y or n) n
I did install and update the server. I have googled and found nothing.
Please let me know what else I can provide you. I am new to this LSP stuff. (its working with C/C++ and lsp mode).
(use-package lsp-javacomp
:init
(add-hook 'java-mode-hook
(lambda ()
;; Load lsp-javacomp before enabling lsp, so that javacomp client
;; is registed.
(require 'lsp-javacomp)
(lsp)
;; Use company-lsp as the company completion backend
(set (make-variable-buffer-local 'company-backends) '(company-lsp))
;; Optional company-mode settings
(set (make-variable-buffer-local 'company-idle-delay) 0.1)
(set (make-variable-buffer-local 'company-minimum-prefix-length) 1)))
;; Optional, make sure JavaComp is installed. See below.
:config
(lsp-javacomp-install-server))
BTW your snippet in the read me is wrong.
(require 'lsp-javacomp')
The text was updated successfully, but these errors were encountered:
I did install and update the server. I have googled and found nothing.
Please let me know what else I can provide you. I am new to this LSP stuff. (its working with C/C++ and lsp mode).
BTW your snippet in the read me is wrong.
(require 'lsp-javacomp')
The text was updated successfully, but these errors were encountered: