Hiding base class methods on code completion in Intellij?

Does Intellij have any way to configure filtering of methods displayed to complete the code? For example, if I have a class that implements Collection, there are a large number of methods that will be displayed when you press Ctrl-Space or Ctrl-Shift-Space. I would like to be able to code only the methods of the current object. The ability to work with filtering methods of certain classes will also work.

This is especially annoying in Groovy due to the large number of collection methods. I rarely look for code for them since I know them, but they add a lot of noise to the code drop-down list.

+4
source share
2 answers

There is an open problem for this. Feel free to vote.

+3
source

You should look in Settings> Editor> Code Completion

The options are limited, but it seems to be a place where you can find what you need

+1
source

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


All Articles