eclipseautocompletecontent-assist

Can Eclipse's Content-assist be made more flexible?


In Eclipse the auto complete is very very strict. Is there a way to have it slightly looser? For instance:

getData()
setData()

I want to type "data", and have the two functions above be found but because both functions have "get" or "set" at the start, it doesn't suggest these functions, I have to type get or getD to finally be able to get it in the auto complete.

I was wondering if there was a setting to have it include 'any' functions that have the search term within it, not just starts with?

I have tried doing searches on Google, but without knowing the the terms I am only getting people asking for help saying 'its not working'. I just want to change from "startswith" to "contains"..


Solution

  • Eclipse Neon (4.6)

    Now Content Assist is more flexible:

    autocomplete

    The feature is described here:

    Content Assist now supports substring patterns. Enter any part of the desired proposal's text, and Content Assist will find it! For example, completing on selection proposes all results containing selection as a substring.