Additionally, you will see that, as you select a specific panel to pop up, it will be located at various places in our project window, either along the side edges or at the bottom section. Now, PyCharm provides the ability to dynamically reorganize these panels to be in an optimal arrangement for our workspace. Specifically, we can move a panel to another region in the project window by dragging and dropping its corresponding tag along the side and bottom edges of the project window.
For example, in the preceding screenshot, my Run panel was originally in the bottom left corner. Now, I can drag its tag (highlighted in the green box in the following screenshot) as follows:
Now, I will drop it to the bottom area of the left edge of the project window, and the whole panel will be moved to the corresponding area. After this process, the Run panel is now located in the middle area of the left-hand side of the project window, as follows:
As we mentioned previously, you can drag and drop a panel tag along the left, right, and bottom edges of the project window. Specifically, there are six sections in total to which you can drag and drop a panel tag, as follows:
- Top of the left edge: To display a panel in the top left corner. For example, my directory tree.
- Bottom of the left edge: To display a panel in the middle of the left section of the window.
- Left of the bottom edge: To display a panel in the bottom left corner.
- Right of the bottom edge: To display a panel in the bottom right corner.
- Top of the right edge: To display a panel in the top right corner.
- Bottom of the right edge: To display a panel in the middle of the right section of the window.
So, to create the specific arrangement in the previous screenshot of my project window, you can move the following tags:
- The Project tag to the top of the left edge
- The Run tag to the left of the bottom edge
- The Python Console tag to the right of the bottom edge
- The Terminal tag to the top of the right edge
- The SciView tag to the bottom of the right edge
However, keep in mind that this is my own custom arrangement. It is possible for you to not only have a different arrangement, but also a different set of panels than what I have. Depending on your projects, you might have different arrangements for different projects as well.
For example, you might want the Database panel rather than the SciView panel while working with databases, or you might want to include the Version Control panel when working with Git. I would suggest taking some time to try different panel combinations to see what works and don't be afraid to switch things up when you realize that the current organization is not optimal. All of this dynamic organization is possible in PyCharm.
The organization of panels in a PyCharm project window concludes our discussion on the topic of customizing our PyCharm project workspace. In the next section, we will take a step back and discuss the different options that are available for project types in PyCharm.