Open Crayon277 opened 1 year ago
info from lsp-log
Command "semgrep lsp" is not present on the path.
Command "semgrep lsp" is not present on the path.
Found the following clients for /Users/mmmmmcclxxvii/Develop/temp/Application.java: (server-id jdtls, priority 0)
The following clients were selected based on priority: (server-id jdtls, priority 0)
Command "semgrep lsp" is not present on the path.
Command "semgrep lsp" is not present on the path.
Found the following clients for /Users/mmmmmcclxxvii/Develop/temp/Application.java: (server-id jdtls, priority 0)
The following clients were selected based on priority: (server-id jdtls, priority 0)
``
Same error here, also with jdtls
, using doom emacs
trying to install semgrep manually results in another error
Describe the bug jdtls exit immediately when I launch emacs normally (normally means click the app icon, type
emacs
on iterm) and reportServer jdtls:67683/starting exited (check corresponding stderr buffer for details). Do you want to restart it? (y or n)
UNLESS , I use
sudo emacs
to launch the emacs. Is that normal? Because I don't see any requirement of root authority on the chain.Environment macOS: Ventura 13.5.1 emacs: emacs-plus@29.1 (installed by brew) lsp-java: 20230827.428 jdtls : jdt-language-server-1.26.0-202307271613 java : 17 (JAVA_HOME is setted by jenv)
To Reproduce
export PATH=/Users/mmmmmcclxxvii/.emacs.d/lsp-server/jdt-language-server-1.26.0-202307271613/bin:$PATH
(setq lsp-java-server-install-dir "~/.emacs.d/lsp-server/jdt-language-server-1.26.0-202307271613")
emacs --debug-init
C-x C-f
open~/Develop/temp/Application.java
Expected behavior show: LSP:: jdtls connected to xxxx
Screenshots
Above screenshot is launching emacs normally
Above screenshot is launching emacs via
sudo emacs