Eclipse 中如何将文件与文件夹分开?

发布于 2024-10-31 12:04:50 字数 362 浏览 1 评论 0原文

我最近从 Windows 切换到 OSX,并且正在寻找合适的 IDE。我在 Windows 上使用 PHPDesigner,现在在 OSX 上尝试 Eclipse。

因此,在 PHPDesigner 和我多年来使用的其他一些 IDE 中,有一种方法可以将文件树拆分为不同的文件夹和文件。顶部是像平常一样的文件树,下面是另一个框,其中仅包含所选文件夹中的文件。这对我来说很好,因为我一直在做的很多项目每个文件夹中都有多个文件。

Eclipse 只有树视图,当您单击某个文件夹时,它会列出所有子目录和文件,这会很快使树变得混乱,并使导航到不同目录变得更加困难。

有没有办法让 Eclipse 从树浏览器中分离目录/文件?还有其他适用于 OSX 的 IDE 建议吗?

I've recently switched from Windows to OSX and I'm looking for a proper IDE. I was using PHPDesigner on windows and now I'm trying Eclipse on OSX.

So in PHPDesigner and some other IDEs I've used over the years, there was a way to split the file tree into distinct folders and files. At the top would be the file tree like normal, and below it was another box that contained just the files in the selected folder. This is good for me as alot of the projects I've been working on have more then a few files in each folder.

Eclipse simply has the tree view, and when you click on a folder it lists all the sub-directories and files, quickly cluttering the tree and making it harder to navigate to different directories.

Is there a way to make Eclipse split the directory/files from its tree browser? Any other IDE suggestions for OSX?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

流年已逝 2024-11-07 12:04:50

当涉及到“整理”文件/目录树时,您可以使用 mylyn (它已经是 Eclipse 的一部分:您不必安装它)。

请参阅本教程:mylyn 有一个以任务为中心的显示方法,可以让您仅显示您正在处理的内容。

以任务为中心的工作区

Mylyn 的聚焦功能可应用于在 Eclipse SDK 中显示上下文的所有视图:Package Explorer、Navigator、Project Explorer、Outline、Problems、Tasks、Debug、Packages、Types 和 Members。
任何树视图(例如项目资源管理器)的聚焦模式都添加了兴趣装饰、过滤和扩展管理。列表视图(例如“问题”)在聚焦时也会按兴趣排序。
由于这种通用支持,您可以将 Mylyn 用于非 Java 项目,例如 PHP 开发

When it comes to"un-cluttering" the tree of files/directories, you can use mylyn (which is already part of Eclipse: you don't have to install it).

See this tutorial: mylyn has a task-focused display approach which will let you display only what you are working on.

task focused workspace

Mylyn's focusing facilities can be applied to all the views that show context in the Eclipse SDK: Package Explorer, Navigator, Project Explorer, Outline, Problems, Tasks, Debug, Packages, Types, and Members.
The focused mode of any tree view, such as the Project Explorer, adds interest decoration, filtering, and expansion management. List views, such as Problems, are also sorted by interest when focused.
Thanks to this generic support, you can use Mylyn for non-Java projects, such as PHP development.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文