PyCharm can't find the solution for the window of the newly opened project

In the process of using PyCharm or other JetBrains IDEs, occasionally, after opening a new project in a new window, the newly opened window may not be found.

Especially in the case of using dual monitors, there are more occurrences.

But when the mouse is placed on the ide icon in the taskbar, a preview window will appear, as shown below:

What's going on?

In fact, it is not that the window is not open, but the window is open, but it ran to a place you can't see.

This window location information will be recorded in workspace.xml under the .idea file in the project root directory.

First we close the project, close the IDE, open .\.idea\workspace.xml, search for the string "ProjectFrameBounds", and find the following location:

As you can see, the x coordinate of the starting position of the project window is -2068, which is beyond the scope of our monitor, so it cannot be seen.

Then modify this value, modify it to 0 and save. Finally reopen it.

In this way, you can see the window. ^_^

Guess you like

Origin blog.csdn.net/u014108439/article/details/81980189