Is it possible to group projects in Eclipse?

后端 未结 6 917
感情败类
感情败类 2020-12-13 03:33

Is it possible to group projects in Eclipse? Or maybe have a project with sub-projects?

相关标签:
6条回答
  • 2020-12-13 03:34

    Since Eclipse Mars M5, you can see a hierarchical view of nested projects in the Project Explorer view. In the view menu, click "Projects Layout > Hierarchical". https://www.eclipse.org/mars/noteworthy/#_nested_hierarchical_view_of_projects

    0 讨论(0)
  • 2020-12-13 03:43

    Eclipse offers working sets. You can reduce the projects shown in the Package Explorer and other places to whichever projects you defined into the working set. You can also show the union of various sets, and similar gymnastics.

    You can define/edit/delete working sets from the little triangle dropdown menu on the Package Explorer and similar directory views.

    0 讨论(0)
  • 2020-12-13 03:43

    What about eclipse working sets? You define a working set and then add some projects to it. Later you could select a working set and only the projects you selected earlier are shown in project explorer. Simpl grouping to reduce clutter.

    http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.user/concepts/cworkset.htm

    0 讨论(0)
  • 2020-12-13 03:43

    Using Working Sets, you can add and organize them as shown in the picture :

    enter image description here

    As you can see my Java projects are in Working sets like Sem1 and TPs.

    When you create an all new Project, just add the project to your working set, like this :

    enter image description here

    0 讨论(0)
  • 2020-12-13 03:44

    Working sets are great, but they don't work if the projects in one working set has the same name as in another, and such occurs in some TI C2000 chip examples that are in different directories.

    0 讨论(0)
  • 2020-12-13 03:45

    You have two options, as far as I know:

    1. use the already suggested Working Set option: you can create custom groups, use them to focus on a particular area of a project, activate them through Mylin; a really powerful tool indeed

    2. use the basic concept of workspace which allows you to work on many projects and relate them (via the Build path "Projects" tab, and "Java EE Module Dependencies") so that when you need resources from other projects or you need to deploy them along with your main web application Eclipse will do that for you

    0 讨论(0)
提交回复
热议问题