How to order modules in intellij-idea?

前端 未结 1 492
伪装坚强ぢ
伪装坚强ぢ 2021-01-11 14:18

Say I have project with a lot of modules in Intellij-Idea:

  • A
  • B
    ...
  • Z

In specific time I need to work with only 2 or

相关标签:
1条回答
  • 2021-01-11 15:04

    There is no way to change the order of the modules. But there are two ways you could do what you want.

    1. Module Groups

    Create some module groups by going to File > Project Structure > [Modules]. Move modules to a module group by selecting one of more modules, open the context menu (i.e. right click) and select Move Module to Group. You can create a new group, select an existing group, or move them outside any group:

    enter image description here

    Then in the project view, you can collapse the group(s) with the modules you do not want to focus on. All modules are still present and available (i.e. no modules are deleted). Search Grouping Modules in the help guide for more information.

    1. Scope View

    Define a Scope (Settings > Appearance & Behavior > Scopes ) that will only show the modules you are interested in. See the Help page for information on Scope syntax and how to define modules. Then, in the project took window, select the scope view:

    enter image description here

    The first option is probably the easier of the two.

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