Joy
Joy

Reputation: 4483

Issue with project explorer in Pycharm

Hi I am using pycharm for python development. While opening my python project in pycharm, it is opening like below image where name of my project is election, and before that the tabs that have appeared are all parent directories. But I don't want to view like this, I want all the folders and files of the my project election, to appear as tree view in left pane. I cannot figure out how to do that.

enter image description here

Upvotes: 4

Views: 1730

Answers (3)

CosmoRied
CosmoRied

Reputation: 896

Pycharm -> Preferences -> Search "Project" -> Project Structure -> Add Content Root

Upvotes: 1

Marosinho
Marosinho

Reputation: 135

File -> Settings -> Project: 'project_name' -> Project Structure -> '+ Add Content Root'

There you can set root directory of project and you will see tree structure of your project.

Upvotes: 8

Jeremy
Jeremy

Reputation: 786

Try this method:
1) Close all tabs.
2) Click Windows on the menu bar, then click Restore Default Layout

If this doesnt work, or if it shows you a blank space, press Alt - 1 to open Project View.

Upvotes: 3

Related Questions