Eclipse content assist: filter by "contains the phrase" instead of "starts with the phrase"
Asked Answered
P

1

6

If you start typing when the content assist is activated, content assist will only filter the suggestions based on the starting letters.

However, suppose that there is an object and we need to see if any of its methods contain a specific phrase in any parts of their names (not just checking if they start with that phrase).

Is there any way to configure the content assist or is there any plugin out there to provide that functionality for Eclipse?

Puccoon answered 13/2, 2014 at 11:12 Comment(0)
A
3

The Eclipse Code Recommenders project includes subwords completion which seems to be exactly what you are looking for.

Keep in mind that with the upcoming 2.1 release (together with Eclipse Luna on the 25th of June, 2014), the subwords completion is no longer activated by default. Go to Preferences > Code Recommenders > Completions and activate the Subwords-Completion Processor.

Asur answered 23/5, 2014 at 14:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.