在原生的test下建立文件,然后去测试,但是这个文件建了之后不变色,这个就十分疑惑
首先,这个颜色,包括resources的图标样式都是通过右击-Mark Directory as 设置的
设置这个是干什么的:root是根的意思,Sources Root就是源根的意思,通过这个类指定一个文件夹,就告诉了IDEA这个文件夹及子文件夹包含源代码,可以编译为构建过程的一部分;同样Test Source Roots和它类似,但它用于测试
为了便于区分,它们就用了不同的颜色。