Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 253
Pavel Hanpari Avatar asked Jan 05 '18 16:01

Pavel Hanpari


2 Answers

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.

like image 82
Andrey Avatar answered Sep 28 '22 08:09

Andrey


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.

like image 45
toniedzwiedz Avatar answered Sep 28 '22 07:09

toniedzwiedz