简体   繁体   English

我如何知道我是否在Eclipse中查看Java接口或实现文件

[英]How do I know if I'm looking at Java interface or implementation file in Eclipse

I'm working with an old Java project, which uses the naming convention where interface is named MassiveWormholeGenerator and its implementation is named MassiveWormholeGeneratorImpl. 我正在使用一个旧的Java项目,该项目使用命名约定,其中接口名为MassiveWormholeGenerator,其实现名为MassiveWormholeGeneratorImpl。 Point is that the names are so long that the end of the file name is not visible in Eclipse editor tab. 关键是名称太长,以致文件名的结尾在Eclipse编辑器选项卡中不可见。 This means that I have to spend time to determine if I'm looking at the interface or implementation. 这意味着我必须花时间确定是否在查看接口或实现。 Is there an easy way to keep this information visible constantly? 有没有一种简单的方法可以使这些信息始终可见?

NamingConventionFlameWars > /dev/null NamingConventionFlameWars> / dev / null

It seems that Show in Breadcrumb action does just this. 似乎“面包屑显示”操作正是这样做的。 It can be found from the editor's popup menu. 可以从编辑器的弹出菜单中找到。

日食的标题栏显示在编辑器中选择的文件的全名

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我如何知道我使用的是Triple Des Algorithm实现的正确版本? - How do I know if I'm using the right version of Triple Des Algorithm implementation? 如何在Eclipse中附加类的实际实现Java代码? - How do I attach the actual implementation Java code of a class in Eclipse? 如何在Java中编写正则表达式,同时考虑要查找的字符串的上下文? - How do I write regular expression in Java that takes into account the context of the string I'm looking for? 如何测试没有实现的接口 - How do I test an interface that has no implementation 我如何让这个函数返回我正在寻找的值? - How do I make this function return the value I'm looking for? 在Eclipse中测试Java GUI时,我怎么知道调用哪个方法/类? - How do I know which method/class is called when I test java GUI in eclipse? 我怎么知道我正在使用什么 jaxrs 实现? - How do I know what implementation of jaxrs I am using? 如何在Eclipse中打开Java项目(使用Maven)? (我使用M2E还是maven-eclipse-plugin) - How do I open a Java project (that uses maven) in Eclipse? (Do I use M2E or maven-eclipse-plugin) 如何使用Byte-Buddy从界面构建Java类的具体实现? - How do I build an concrete implementation of a Java Class from an interface using Byte-Buddy? 我怎么知道我是否在事件发送线程上? - How do I know if I'm on the event dispatch thread?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM