Pavel Hanpari
Pavel Hanpari

Reputation: 4754

How to wrap text in quick documentation in IntelliJ?

After Ctrl+Q (Quick documentation) I could not see all text. I have to scroll horizontally to see all content. I could not make the editor to fit the window.

UPDATE: The problem is only symbol definition, ie. the first line. The description (block text) is wrapped correctly. Actually, I don't want to resize this window as I prefer to keep it as I write in the same position for quick reference. I have to add that my monitor is quite small (15-inch) which is probably causing the problem.

enter image description here

Upvotes: 9

Views: 1343

Answers (2)

Andrey
Andrey

Reputation: 16441

Indeed method signature in the popup is not wrapped. There is a request you can vote for: IDEA-169414.

UPDATE: The documentation popup is reworked in 2018.1 and it should be fixed.

Upvotes: 3

toniedzwiedz
toniedzwiedz

Reputation: 18563

I'm not aware of a way to configure IntelliJ to wrap text in these windows.

I think the quickest way to see the full line in the quick documentation window is to press Ctrl+Q again to make it a little bigger (and center it) or maximize it with Ctrl+Shift+"

Keep in mind that the smallest version (the one that appears after the first Ctrl+Q) can be resized by hovering the mouse cursor over its edge and dragging it. It's going to retain the same size the next time you open it.

Upvotes: 3

Related Questions