Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hiding base class methods in code completion in Intellij?

Does Intellij have any way of customizing the filtering the methods that are displayed for code completion? For instance, if I have a class that implements a Collection, there are a large number of methods that will be displayed when hitting Ctrl-Space or Ctrl-Shift-Space. I would like to be able to code complete only have the methods of the current object displayed. Being able to configure the filtering of methods of certain classes would work as well.

This is particularly annoying in Groovy due to the large amount of methods for Collections. I am rarely looking to code complete on them since I know them, but they add a lot of noise to the code complete dropdown.

like image 907
Eric Hauser Avatar asked Jul 02 '10 15:07

Eric Hauser


People also ask

How do I show class methods in IntelliJ?

By default, IntelliJ IDEA shows all classes, methods, and other elements of the current file. To toggle the elements you want to show, click the corresponding buttons on the Structure tool window toolbar. to show class fields.

How do I disable code completion in IntelliJ?

Go to Settings / Preferences | Editor | General | Postfix Completion and select the Enable postfix completion checkbox. Select Tab , Space , or Enter to be used for expanding postfix templates. Enable/disable a particular postfix template for the selected language.

What is code folding in IntelliJ?

endregion comments depending on the style you need, and name the created custom region. Now, when you select the Custom folding regions option, IntelliJ IDEA will fold such regions when you open your file in the editor. Before. After. Android - language-specific code fragments in Android.


1 Answers

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

like image 83
CrazyCoder Avatar answered Sep 29 '22 11:09

CrazyCoder