Making new directories in a project

Answered

Hello, I'm new to Intellij and I'm trying to make multiple directories inside my project, but when I transfer the .java files to the new directories, they don't show properly.

Bin is the new directory, the .java files should appear as in src, but they appear like in the image below:

(also the syntax highlighting inside them doesn't work)

1 comment
Comment actions Permalink

Hi, you need to mark a new directory as a source content root. https://www.jetbrains.com/help/idea/content-roots.html

0

Please sign in to leave a comment.