Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way for content assist to allow wildcard characters in Eclipse?

This is not the first time that I would have needed that...
In the example bellow I would love to have all set*Listeners listed so I wouldn't have to scroll trough all the houndreds of methods to find the listener setter I need.

eclipse camelCase content assist

Is there a way to do that, or any alternative that lets me search trough the content assist results more effectively? (Allowing a wildcard character would be a really good start)

like image 482
Adam Toth Avatar asked Dec 06 '25 23:12

Adam Toth


1 Answers

The Eclipse Code Recommenders project includes subwords completion which seems to be what you are looking for. In your example, it will find setListener when completing on sLis. You don't even have to type in a wildcard.

Keep in mind that subwords completion is not activated by default. Go to Preferences > Code Recommenders > Completions and activate the Subwords-Completion Processor.

like image 74
Johannes Dorn Avatar answered Dec 10 '25 07:12

Johannes Dorn



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!