How to lock the code window in the center of the screen?
已回答
I would like to always keep the code window in the middle of the screen so no other windows could shift it in any direction. E.g. if I open/hide the Project window, I would like the code window to not move at all. As for me, it is an extremely annoying behavior when I drag the IDE to another monitor with a different resolution and the Project tree window takes 80% of the space all of a sudden.
If there is a way to set a percentage of how much horizontal space a window can occupy, it would be even better.
请先登录再写评论。
See my answer at https://stackoverflow.com/a/44802228/104891.
It is not what I'm asking for. In your solution, the code is centered inside the code window, but I want the code window itself to be in the center of the IDE window. In my case, I want to get rid of constant windows rearrangement when I drag the IDE over a monitor with a different resolution.
It's not possible, feature request can be submitted at https://youtrack.jetbrains.com/newIssue?project=IDEA.
Here is an example: the first one is when the IDE on my main monitor (it's 21:9 3440x1440)
And this is when I drag the IDE to my laptop's monitor (16:9 1920x1080)
Ok, thank you for the response.