Intellij icon over project files

intellij posted something that doesn't look like input characters above my java files (red circles with a string) that were looking around but can't find why? Does anyone know please.

This is a maven project, if that matters

+27
java intellij-idea
Apr 28 '10 at 9:47
source share
3 answers

This means that these files are not part of the project settings. How did you create this project?

I'm not sure which version of IntelliJ you are using - I am running 9.0.1. I would recommend opening the project structure (the icon to the right of the "wrench" or Ctrl + Alt + Shift + S), press "Modules" and designate the directory in which the .java files are located as the source directory (it will turn blue).

+41
Apr 28 '10 at 10:07
source share

For those who have this problem with Android Studio. Try the following:

1) Go to your project settings

2) Go to Modules → and select “Sources” on the module options tab, - There should be an option “Add content root directory”, and below - blue, green and red tab folders for source folders, test source folders and excluded folders, respectively.

3) On the right side, right-click on the java source folder that you want to add and select to add it to the source or tests (depending on which files you add).

4) The added files should now be displayed with a blue circle with c in the center on the left pane of the project window.

+5
Jul 15 '13 at 20:51
source share

For maven projects:

In my case, I had to import the project through Maven. Some modules were missing (they were not specified in the root pump), so adding these parameters as maven projects fixed the problem.

click the plus icon in the maven right menu, and then add the project. This automatically imports all sources / structure.

0
Dec 11 '13 at 16:35
source share



All Articles