Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to quickly find constructor(s) in IntelliJ IDEA?

Tags:

Is there way to quickly find constructors of a particular class in IntelliJ IDEA?

like image 711
Eugene Avatar asked May 09 '13 08:05

Eugene


People also ask

How do you get a constructor in IntelliJ?

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.

How do I select all constructors in IntelliJ?

You can use ⌘N (macOS), or Alt+Insert (Windows/Linux) for the Generate menu and then select Constructor , Getter , Setter or Getter and Setter .

How do I search specific methods in IntelliJ?

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.


1 Answers

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

like image 197
Semih Yagcioglu Avatar answered Oct 03 '22 04:10

Semih Yagcioglu