如何找出我目前在 Pycharm 中的哪个班级? [英] How to find out which class I'm currently in in Pycharm?
问题描述
一个相当简单的问题,我确定有答案,我似乎无法通过搜索找到它
A rather simple question that I'm sure there's an answer to, I just can't seem to find it by searching
有时我正在查看或编写一些代码,我想仔细检查或找出我所在的班级,是否有一种更简单的方法可以找到而无需向上滚动到 class
线?
Sometimes I'm looking at or writing some code I want to double check or find out which class I'm in, is there an easier way I can find out without scrolling up to the class
line?
推荐答案
Navigate
|选择在...
|项目视图或文件结构,或者您可以在启用从源代码自动滚动选项的情况下保持项目或结构视图可见.
Navigate
| Select In...
| Project View or File Structure, or you can keep Project or Structure view visible with the Autoscroll from Source option enabled.
也可以使用Navigate
|文件结构用于显示您当前位置的弹出窗口.
It's also possible to use Navigate
| File Structure for a pop-up showing your current position.
这篇关于如何找出我目前在 Pycharm 中的哪个班级?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!