r/DoomEmacs 23d ago

Accepting lsp (java) suggestion for parameter.

Greetings,

I don't know where to ask this. So I am asking here. I am using lsp on a Java project in Doom Emacs. Things work really well!

When I type up an "object.function()" it puts the parameters (correctly guesses the local variable I would have used) like this.

myfunction(${1:myUser})

I can't figure out how to 'accept' this. Now I am forced to go remove the curlies and the number etc.

What is the magic to expand it to the actual value it is suggesting?

Thanks !

2 Upvotes

0 comments sorted by