Replies: 4 comments 2 replies
-
You have to setup snippet support for your completion plugin. recording.mp4 |
Beta Was this translation helpful? Give feedback.
-
I have the same problem and I am pretty confused. using jdtls without this plugin gives me the wanted autocompletion (with a '~' in the completion pop up/drop down). at what point do I need to include nvim-jdtls into cmp? Is there any .lua example for that? |
Beta Was this translation helpful? Give feedback.
-
@mfussenegger I am having the same issue... Could you please clarify again? The video you sent is marked as corrupted. |
Beta Was this translation helpful? Give feedback.
-
Got it workingHow to enable autocomplete for parameters (arguments are autofilled with placeholders, you are able to use TAB to navigate / jump to next argument && ENTER to change placeholder value) You have to add snippentSupport in your nvim/ftplugin/java.lua
|
Beta Was this translation helpful? Give feedback.
-
Hi, I'm not sure if this is a problem with nvim-jdtls or not but when I select a method with autocomplete (nvim-cmp) I don't get the parameters filled automatically like in other languages.
Instead of for example myMethod(a,b,c). I just get mymethod . I don't know if its a problem with nvim-cmp or with the lsp that doesn't provide the information to cmp.
Beta Was this translation helpful? Give feedback.
All reactions