Eclipse中更智能的编辑器选项卡标签 [英] Smarter Editor Tab Labels in Eclipse

查看:157
本文介绍了Eclipse中更智能的编辑器选项卡标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人发现可以在Eclipse中自定义Editor选项卡的选项/插件?



我已经开始使用Eclipse进行Pylons开发,发现它很容易当我的模型和控制器文件具有相同的名称时,大量的标签搜索。我正在考虑只是将文件包名称添加到文件中,即



models / page.py | controllers / page.py |



(而不是page.py | page.py)



或者这是我应该看的东西,或许tring做一个插件?

解决方案

AFAIK,你不能这样做标准的Eclipse。



如果您认为这是所有Pydev用户普遍感兴趣的,您应该打开一个问题(具有功能请求)。



如果你想自己编写这样的插件,那不应该太难了。喜欢听开放编辑器的事件,并将编辑器的部件名称设置为不同的东西。



BTW,编辑标题有一个显示完整路径的工具提示。


Has anyone found an option/plugin that allows customisation of Editor tabs in Eclipse?

I have started using Eclipse for Pylons development and found that it is easy to do lots of tab hunting when my model and controller files have the same name. I was thinking of just prepending the package name to the file i.e

models/page.py | controllers/page.py |

(instead of page.py | page.py at the moment)

Or is this something that I should look at perhaps tring to do a plugin for?

解决方案

AFAIK, you cannot do that in the standard Eclipse.

If you think this is of general interest to all Pydev users, you should open an issue (with feature request) about it.

If you want to write such a plugin yourself, it shouldn't be too hard. Something like listening to the event of Open Editor and setting the editor part name to something different.

BTW, the editor title has a tooltip which shows the full path.

这篇关于Eclipse中更智能的编辑器选项卡标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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