Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse content-assist shows java method parameters only before I start typing

Tags:

java

eclipse

As of recently, I am having a problem with eclipse content assist, which is driving me crazy.

when starting typing method parameters, eclipse typically shows the parameter names and types. "previously" that tooltip stayed open and showed me with a bold font, which parameter I am actually specifing. However, recently this behaviour changed: I get that content assist tooltip only when I haven't entered any parameter. if I use auto-completion for e.g. a method-parameter, that parameter-list is gone forever - Ctrl+Space simply shows the available local variables.

  1. after typing a method-name, the parameters are shown: enter image description here

  2. after using auto-completion (or some other popup, etc) which causes the parameter-list to disappear, pressing Ctrl+ doesn't bring it back. Instead I only get a list of local variables: enter image description here

I would expect that the method parameter popup would re-appear on pressing Ctrl+

like image 885
user2923917 Avatar asked Aug 31 '25 01:08

user2923917


2 Answers

I just noticed, Ctrl + Shift + Space can be used to bring back the parameter list.

like image 172
user2923917 Avatar answered Sep 02 '25 13:09

user2923917


The popup you're missing is at EditContent AssistParameter Hints. You can change the binding in the Eclipse configuration if the default Ctrl+Shift+Space doesn't feel natural.

like image 33
steffen Avatar answered Sep 02 '25 15:09

steffen