Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing TAB to autocomplete on java makes the whole editor freeze (company capf timeout) #16304

Open
resendecode opened this issue Mar 6, 2024 · 0 comments
Assignees

Comments

@resendecode
Copy link

resendecode commented Mar 6, 2024

I am needing help coding in java with spacemacs. I finally got the autocomplete working by downloading the eclipse jdtls version 1.33 and specifying its path:
(lsp :variables lsp-java-server-install-dir "~/myjdtls" )

In the following annexed video, I start typing the name of a variable and then hit TAB to trigger the autocomplete.
Now, as you can see in the video, the pop up suggestions work but as soon as i hit Tab, the editor freezes.
I then go into the the messages log to show the error messages I obtain: (accidentally stop at the lsp-log buffer instead of going directly into the error message)
emacs java error.webm

WHAT I'VE TRIED
Not specifying the lsp server path just makes my autocomplete functionality disappear for java
Choosing Meghanada also seems clunky and not as polished.
I just wish I didn't have this happen because it still is very enjoyable.
If I'm posting this in the wrong place or you need further information, please let me know.
Thank you for reading.

@smile13241324 smile13241324 self-assigned this Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants