IntelliJ: How can I permanently enable line preview on moving caret to ending braces?

Moving the caret to the ending braces of a statement (method, class, if/else, etc) will show me a preview of the beginning of the statement on top of the editing window if it is out of screen bounds. Here is a picture for clarity. Screenshot of tooltip

What is this feature called and how do I enable it such that the statement preview shows even if my caret is in within the braces and not on the ending brace?

Upvotes: 0

Views: 38

Answers (2)

That tool tip was called "context info" and similar information can displayed by going to settings > Editor > General > Appearance > show breadcrumbs

Upvotes: 0

CrazyCoder
CrazyCoder

Reputation: 401995

View | Context InfoAlt (Ctrl+Shift on Mac) + Q.

Upvotes: 1

Related Questions