简体   繁体   English

视觉帮助识别日食

[英]Visual help for recognizing classes in eclipse

When my project grows too big, it also get harder to recognize the growing number of classes. 当我的项目变得太大时,也越来越难以识别越来越多的课程。 I'm looking for a plugin for eclipse, that makes it easier to differentiate the classes by assigning icons or colors to them. 我正在寻找一个用于eclipse的插件,通过为它们分配图标或颜色,可以更轻松地区分类。

Alternatively I'm looking for any tools, plugins or advice to see through the jumble of classes. 另外,我正在寻找任何工具,插件或建议,以了解各种类。

(Currently I'm only using packages for grouping classes) (目前,我仅将包用于分组类)

You should be using packages to the full extent. 您应该充分使用软件包。 That means, whenever you find that at least 2 classes in an already existing package share a common aspect, think about moving them into yet another sub package. 这意味着,只要发现现有包中的至少两个类具有相同的方面,就考虑将它们移入另一个子包。

Over time, this can lead to quite long package names like org.eclipse.product.addon.technology.ui.someview.listeners . 随着时间的流逝,这可能导致很长的包名称,例如org.eclipse.product.addon.technology.ui.someview.listeners As those are not easy to browse, use the compressed package name display of Eclipse, which allows you to replace any package path by an arbitrary string (only for display in the package explorer). 由于不容易浏览,请使用Eclipse的压缩包名称显示 ,它使您可以用任意字符串替换任何包路径(仅在包资源管理器中显示)。 So your very long package names get shortened like here: 因此,您很长的软件包名称会像下面这样缩短:

在此处输入图片说明

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM