Pycharm:多个选项卡均具有相同名称;如何在项目资源管理器中突出显示活动文件?
许多不同的应用程序都有自己的“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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用
查看
|选择
|项目视图
或在项目视图中启用从源自动滚动选项。在 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
.项目窗格的顶部应有一排按钮。将鼠标悬停在它们上以获取工具提示,然后查找显示“从源自动滚动”的提示。确保侧边栏足够宽,可以看到所有按钮。
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.