简体   繁体   English

Eclipse>软件包浏览器-前10个软件包

[英]Eclipse > Package Explorer - top 10 packages

I've got a bunch of projects now that I've imported into Eclipse and they all show up in the Package Explorer of Eclipse. 现在,我已经将很多项目导入到Eclipse中,并且它们都显示在Eclipse的Package Explorer中。

So, I've got a list of around 30 packages (and growing!). 因此,我列出了大约30个软件包(并且还在不断增加!)。

Can you only show the top 10 packages (but have the option of seeing previous packages if necessary - like Microsoft Word where you choose Open Recent and get a More option for previous files)? 您能否仅显示前10个软件包(如果需要,可以选择查看以前的软件包-例如Microsoft Word,您可以选择“最近打开”并为以前的文件获得“更多”选项)?

There's no "Recent packages" feature but you can configure package view by pressing the arrow in right upper corner and using Filters... . 没有“最新软件包”功能,但是您可以通过按右上角的箭头并使用“ Filters... ”来配置软件包视图。 Then you can exclude "Closed" packages from being shown and close these you are not working with at the moment to get them hidden 然后,可以从显示中排除“已关闭”程序包,并关闭当前不使用的程序包以使其隐藏

在此处输入图片说明

You could either create multiple Working Sets and collapse all but the one you need right now. 您可以创建多个工作集,然后折叠除您当前所需的所有工作集。 Or you could use multiple workspaces. 或者,您可以使用多个工作区。

Either ways i dont think you can only show the most recent packages, but you can bring more organization in your package tree. 无论哪种方式,我都不认为您只能显示最新的软件包,但是您可以在软件包树中引入更多的组织。

I would recommend Working Sets - personally i have quite a few of them and never had too much packages visible to cluster my screen. 我会推荐工作集-就我个人而言,我有很多工作集,并且从来没有太多可见的程序包来群集我的屏幕。

This is not exact answer. 这不是确切答案。 But you can use Mylyn plugin for your need. 但是您可以根据需要使用Mylyn插件。 When you click on the "Focus on Active task" button then you will see the accessed packages for that task. 当您单击“关注活动任务”按钮时,您将看到该任务的已访问软件包。

More on Mylyn here . 更多关于Mylyn的信息 You can also use Package Filter plugin. 您也可以使用Package Filter插件。

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

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