Evgeny A.
Evgeny A.

Reputation: 741

Is there a way to make content assist in Eclipse (JDT) show up automatically after I type "new"?

Most of the time after typing "new" I press Ctrl-space to quickly choose the necessary class. I want Eclipse to show the tooltip automatically, like VS+Resharper does.

screenshot

Upvotes: 4

Views: 683

Answers (1)

Vineet Reynolds
Vineet Reynolds

Reputation: 76719

If you do not have any hesitation in typing a single whitespace, you can add the whitespace character to the list of characters that will trigger the content assist dialog. The default character is the dot (.) character, to which you can add other characters.

I haven't found a way to avoid specifying any trigger character, and still get the content assist dialog. So, with the whitespace character in the list, you have to type in new instead of just new, and you can get what you desire (or more than what you need, as the dialog pops up on every space entered).

Configure Eclipse's Content Assist Trigger to include a white space

Upvotes: 2

Related Questions