What does this symbol mean in IntelliJ? (red circle on bottom-left corner of file name, with 'J' in it)

后端 未结 19 1180
栀梦
栀梦 2020-11-29 18:52

Under the target folder in IntelliJ for a Java project I created, I have a few java source files in the package. Beside each file the \'J\' icon has a red circle with a lin

19条回答
  •  半阙折子戏
    2020-11-29 19:12

    This situation happens when the IDE looks for src folder, and it cannot find it in the path. Select the project root (F4 in windows) > Go to Modules on Side Tab > Select Sources > Select appropriate folder with source files in it> Click on the blue sources folder icon (for adding sources) > Click on Green Test Sources folder ( to add Unit test folders).

提交回复
热议问题