Pycharm:多个选项卡均具有相同名称;如何在项目资源管理器中突出显示活动文件?

发布于 2024-12-11 18:29:47 字数 170 浏览 3 评论 0原文

许多不同的应用程序都有自己的“admin.py”和“views.py”版本等,当我查看选项卡时,我很难判断我打开了哪一个(选项卡不有完整路径)。

有没有办法突出显示我正在活动选项卡中编辑的文件?通常,对于使用这种格式的程序(例如 Gmail),活动部分或文件会在左侧突出显示,但在 PyCharm 中并非如此。

With a number of different apps that all have their own version of "admin.py" and "views.py," etc., I have a hard time telling which one I have open when looking at the tabs (the tabs don't have the full path).

Is there a way to highlight which file I'm editing in the active tab? Normally with programs that use this format -- for instance Gmail -- the active section or file is highlighted on the left, but not so in PyCharm.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

坏尐絯 2024-12-18 18:29:47

使用查看 | 选择 | 项目视图或在项目视图中启用从源自动滚动选项。

在 PyCharm 2.0 中,设置 中将有在编辑器选项卡中显示非唯一文件名的目录选项编辑器 | 编辑器选项卡

Use View | Select In | Project View or enable Autoscroll from Source option in the Project View.

In PyCharm 2.0 there will be Show directory in editor tabs for non-unique filenames option in Settings | Editor | Editor Tabs.

断爱 2024-12-18 18:29:47

项目窗格的顶部应有一排按钮。将鼠标悬停在它们上以获取工具提示,然后查找显示“从源自动滚动”的提示。确保侧边栏足够宽,可以看到所有按钮。

The project pane should have a row of buttons on the top. Mouse over them for tooltips, and look for the one that says "Autoscroll from source". Make sure to make the sidebar wide enough to see all the buttons.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文