Bug 549710 - Autocomplete for method suggestions should consider non-prefix matches (like in the code recommenders plug-in)
Summary: Autocomplete for method suggestions should consider non-prefix matches (like ...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.12   Edit
Hardware: Macintosh Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-01 07:03 EDT by Juergen Baier CLA
Modified: 2019-08-01 08:53 EDT (History)
1 user (show)

See Also:


Attachments
Autocomplete behavior in 4.10 (11.79 KB, image/jpeg)
2019-08-01 07:03 EDT, Juergen Baier CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Baier CLA 2019-08-01 07:03:41 EDT
Created attachment 279471 [details]
Autocomplete behavior in 4.10

In 4.12 there is a regression in the autocomplete for methods. Easy to reproduce:

In any Java method try to call Thread.getAllStackTraces(). Type:

Thread.gett

and try to autocomplete. You get no results in 4.12. But 4.10 did deliver Thread.getAllStackTraces() (see 4.10 screenshot).

Sadly I'm not sure if the regression was already in 4.11 or if it was introduced in 4.12.
Comment 1 Noopur Gupta CLA 2019-08-01 07:32:20 EDT
This content assist behavior was never a part of JDT functionality.

Were you using Code recommenders which might be providing this feature?
Comment 2 Juergen Baier CLA 2019-08-01 07:50:43 EDT
I just checked again: You are right, I'm sorry (I cannot remember anymore that I actively installed it). So this is not a regression.

And it seems this plugin is no longer developed and has been archived :-(.

Wow, this is kind of a shock for me. I was so used to this feature (bridges the gap to IntelliJ).

Is there any chance this plugin or something like this will come back?

I would like to change the title and set the importance to "Enhancement". Is that okay or should I enter a new issue?
Comment 3 Noopur Gupta CLA 2019-08-01 07:55:23 EDT
You can update this bug to make it an enhancement request in JDT.
Comment 4 Juergen Baier CLA 2019-08-01 08:53:58 EDT
Just wanted to note that as of 4.12 the code recommenders plug-in still works and provides the behavior shown in the screenshot.