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.
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.
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.
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.
There is an open issue for this. Feel free to vote.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With