简体   繁体   中英

Navigate to def's in PyCharm

At the left side of PyCharm, where I have my project and filenames, I was till recently able to "fold open" a Python file like it was a directory and here I saw all classes and defs. This way I was able to navigate very easy.

A few days ago this suddenly stopped; now I just see the files and no longer the defs and classes. I went through the entire list of settings (my god) but am not able to find how I can enable this... and without this option, I scroll myself an RSI.

Anyone an idea where this is hidden?

To get it back click the little "gear" icon in the project pane and select Show Members :

项目窗格选项菜单

You should then be able to "fold open" the files and see the classes and functions within:

使用此功能显示的文件结构示例

Here's the relevant page from the documentation that talks about this feature. Note that according to that page, this feature isn't available in the Educational version of PyCharm.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM