如何找出我目前在 Pycharm 中的哪个班级? [英] How to find out which class I'm currently in in Pycharm?

查看:56
本文介绍了如何找出我目前在 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆