Is there way to quickly find constructors of a particular class in IntelliJ IDEA?
Generate a constructor for a classOn the Code menu, click Generate Alt+Insert . In the Generate popup, click Constructor for Kotlin. If the class contains fields, select the fields to be initialized by the constructor and click OK.
You can use ⌘N (macOS), or Alt+Insert (Windows/Linux) for the Generate menu and then select Constructor , Getter , Setter or Getter and Setter .
From the main menu, select Edit | Find | Find in Files Ctrl+Shift+F . In the search field, type your search string. Alternatively, in the editor, highlight the string you want to find and press Ctrl+Shift+F . IntelliJ IDEA places the highlighted string into the search field.
You can use ctrl + F12. This will show all members of the current class in a popup window, then you can select the constructor easily.
Command + F12 on Mac
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