Can Eclipse Content-assist be More Flexible?

At Eclipse, autocomplete is very strict. Is there a way to share a little? For example:

getData()
setData()

I want to type “data” and get the two functions above, but since both functions have “get” or “set” at the beginning, this does not imply these functions, I have to type getor getDto finally get it in automatic completion.

I was wondering if there is a parameter to include “any” functions in it that have a search query, and not just starts with?

I tried to search on Google, but without knowing the terms, I just get requests for help saying "does not work." I just want to go from "startswith" to "contains" ..

+4
source share
3 answers

Eclipse Neon (4.6)

Content Assist is now more flexible:

autofill

The function is described here :

Content Assist now supports substring patterns . Enter any part of the text you want, and Content Assist will find it! For example, at the end of a selection, all results containing the selection as a substring are selected.

+1
source

Project The Eclipse Code project includes the completion of the subheadings , which seems to be exactly what you are looking for.

, 2.1 ( Eclipse Luna, 25 2014 ) . "" > " " > "" " ".

+5

, . Content Assist > Java > > Content Assist, " " (, gD getData()), . . , Eclipse Bugzilla.

+2

Source: https://habr.com/ru/post/1524712/


All Articles