Choose a method sort order in Eclipse autocomplete clauses?

When I write a .after writing the instance name of an object, Eclipse shows a list of all the available methods for this instance, including the superclass methods that the object extends.

If I work with an object that implements some interface, I need to look for "interesting" methods among the "boring" methods of the object level, such as notify()or getClass().

Is it possible to set up Eclipse methods so that the first declarations are declared in subclasses?

+3
source share
2 answers

To change the sorting:

Go to Preferences> Java> Editor> Content Assist> Sorting and Filtering.

:

Preferences > Java > Appearance > Type filters.

+3

. , , , .get .

- () return. . ( , ).

, , , , java-.

0

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


All Articles