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

Answered

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?

3 comments
Comment actions Permalink

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
Comment actions Permalink

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
Comment actions Permalink

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

Please sign in to leave a comment.