How to keep popup on one screen in Intellij IDEA?
Asked Answered
C

1

2

When I type dot and press ctrl+space, I see a pop-up with list of possible methods.

when I press ctrl+q i see another pop-up with javadoc for the selected method.

The problem is half of the popup is on the one screen and second half is on another screen. it's unreadable. how to make the pop-up stay on one screen?

ubuntu 14.04, mate, 2 monitors (extended desktop), intellij 2016.1.1

Counterattraction answered 6/4, 2016 at 9:54 Comment(0)
B
0

The pin is your friend!

enter image description here

Press that pin in the top right corner to "Open as tool window"!

enter image description here

From that moment on, the documentation will always appear in that specific window. Just resize it and place it somewhere in your screen where it does not interfere with other things. From that moment on, every time you press Ctrl + Q the documentation will appear in that window.

enter image description here


Also, note you can change the font size:

enter image description here

But it may be more handy to drag the popup with the mouse:

enter image description here

Backgammon answered 6/4, 2016 at 10:25 Comment(4)
making font smaller is not an option. moving manually is what i'm doing right now but it kills productivityCounterattraction
@Counterattraction see my updated answer! Using the pin is the solution. You get the documentation in another window.Backgammon
but how can this be undone?... in my intellij-14, after using the pin just like you have described, the icon doesn't ever show up in that top right corner anymore... So now even when I click outside the javadoc popup, the popup doesn't go away... To make it go away, I have to first click inside the popup then out again... The experience is too skewed and frustratingPermeability
@CodeBurner to me, in Intelij IDEA 2016, the pin toggles. This way, if you click it again when in a pop up, it goes back to the main window.Backgammon

© 2022 - 2024 — McMap. All rights reserved.