What are the various types that I can mark a directory as?

已回答

When I'm working with my Project Structure (via the dialog or the context menu), I can mark a directory as:

  • Sources Root
  • Test Sources Root
  • Resources Root
  • Test Resources Root
  • Excluded
  • Load Path Root
  • Generated Sources Root


Can anyone explain what impact each of these choices have on things like indexing, visibilty and anything else I might be interested in?

1
Avatar
Permanently deleted user

Take a look at Help > Help Topics > IntelliJ IDEA > Basic Concepts > Module > Content Root (also available on the web). It has a good explanation. If you still have questions, let us know with a follow-up.

0
Avatar
Permanently deleted user

I've taken a look at the Help Topics on Content Root, to get a better idea of the different types available. 

Specifically, I'd like to know more about Load Path Root. 

1
Avatar
Permanently deleted user

It isn't documented in Content Root, though it should be (so it is clearly defined next to the other values).  Below are the locations I found documentation on the matter.

 

IDEA:  https://www.jetbrains.com/help/idea/project-structure-dialog.html#

RubyMine:  https://www.jetbrains.com/help/ruby/configuring-project-structure.html 

0

请先登录再写评论。