Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse auto-complete arguments type emphasis

I apologize in advance if this is a duplicate question, but honestly I don't know how the feature is called. When I search in Eclipse Java auto-complete related questions I can't find it.

When I write Java code and use auto-complete and decide to accept with Enter one of given auto-complete options it will write the method for me, it will populate argument names and a small window will open where I will see in bold on which argument I'm currently on with cursor and what type it is. This bold argument updates in the popup and always puts emphasis on the current argument as I'm writing the arguments.

Screenshot to clarify

  1. What is the name of this feature?
  2. Is there a way to tweak it? Is there Eclipse Kepler compatible plugin or some setting/workaround or shortcut to get it to show again? Or preferably display it all the time? The only way for me to get the window/pop-up re-displayed is to go to the open bracket of that method and press CTRL+Space and choose the first option with Enter and then the window/popup will show. And it's very long-winded for me. I think a long time ago Zend Studio 5.5 had this feature much more convenient and showing up constantly and I miss it a lot.
like image 692
Anton Krug Avatar asked Feb 07 '15 17:02

Anton Krug


People also ask

How do I turn off autocomplete in eclipse?

Open menu Window, then Preferences. Follow path Java -> Editor -> Content assist. Now mess around with the settings to find your ideal setup. I believe what you'll want is to deactivate Insert single proposals automatically.

How do I enable Content Assist in Eclipse?

To enable the Content Assist window to open automatically, go to the Content Assist Preferences page, accessed from Window | Preferences | PHP | Editor | Content Assist and mark the 'Enable auto-activation' checkbox.

Does Eclipse have code completion?

To activate automatic code completion in IDE plug-in for Eclipse: In Eclipse, select Window > Preferences. In the Preferences window, select JavaScript > Editor > Content Assist.


1 Answers

I hope that is what you are looking for:

In your Eclipse menu, go to Window->Preferences->Java->Editor

There you will find things like:

  • Content Assist/Advanced + Favorites
  • Templates

Hopefully, one of those is what you are looking for.

like image 167
vianna77 Avatar answered Oct 12 '22 00:10

vianna77