0

The build-in autocompletion in eclipse 2019-06 (4.12) doesn't consider gaps in the typed class and method names. In eclipse Photon (4.8) this was working properly. Is this feature no longer available?

I have restored the preferences shown in Java >> Editor >> Content Assist >> Advanced to Default. The problem is still there.

JButton button = new JButton();
button.setBorderPainted(true);

Typing button.setPainted and pressing [CTRL] + [SPACE] shows no results. The method setBorderPainted(boolean) should be proposed.

EDIT: Installing the plug-in eclipse Code Recommenders 2.5.4 [1] has solved this issue.

[1] https://projects.eclipse.org/projects/technology.recommenders

Mckay
  • 1
  • 2
  • Have you looked through the values on the non-Advanced Content Assist preference page? – nitind Jun 24 '19 at 14:23
  • I have checked those preferences too. I thought _Show substring matches_ would be the right option, but it is already activated. – Mckay Jun 25 '19 at 06:20
  • In Eclipse 2019-03 [Code Recommenders](https://www.eclipse.org/recommenders/) has been removed. Does _Restore Defaults_ in _Window > Preferences: Java > Editor > Content Assist_ and in _... > Advanced_ fix your issue? – howlger Jun 25 '19 at 15:04
  • Restoring the default didn't help. Installing the plug-in _Code Recommenders 2.5.4_ using the marketplace solved the issue. – Mckay Jun 27 '19 at 06:09
  • "In Eclipse 2019-03 Code Recommenders has been removed." Why do they remove such a great feature? – Mckay Jun 27 '19 at 06:26

0 Answers0