Anudeep Ananth
Anudeep Ananth

Reputation: 408

How can I make IntelliJ to show the class variable names even while not hard coding the values

When creating an object in IntelliJ, I want the IDE to show me the class variables prompt even when I am not adding hard coding a value. The default behavior is to show only while hard coding a value. How can I make IntelliJ show me the variables at all times: enter image description here

Upvotes: 0

Views: 755

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 401877

You can configure parameter hint options at Settings (Preferences on macOS) | Editor | Inlay Hints | Java | Editor | Inlay Hints | Java | Parameter Hints.

Try enabling the checkboxes and check the Exclude list.

Parameter hints

Upvotes: 2

Related Questions