Search code examples
phpstormjetbrains-ide

How to prevent PhpStorm scrolling up in code?


If my cursor is in the middle of the screen and I open the terminal (ALT+ENTER) then it pushes the code|cursor up to the top.

This is so annoying. And I have no idea how to search for that in the settings.

Any idea?

I have added video: https://youtu.be/nOmGUmHeowg

I have tested with versions 2017, 2018, 2020: https://youtu.be/L7E0QYa7JR8

Update

A temporary fix is to pull the tool window (for example the terminal) all the way to the top. If you now open the tool window the editor is completely covered and no more affected.

Here is a link to bug report: https://youtrack.jetbrains.com/issue/IDEA-36031


Solution

  • Since (at least) PhpStorm 2022.2.3

    (Did not check previous versions.)

    you can set

    terminal settings > view mode > undock

    See picture

    And then the weird scrolling is gone (finally).