Intellij Idea文件带有红色圆圈 [英] Intellij Idea files with a red circle

查看:1689
本文介绍了Intellij Idea文件带有红色圆圈的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

项目浏览器中的我的Intellij Idea文件名都有一个小的红色圆圈,上面写着J。它代表什么?

My Intellij Idea file names in the Project Explorer all have a small Red circle with "J" written on them. What would that represent?

推荐答案

IntelliJ认识到这是一个java文件,但它没有标记为项目源的一部分。检查您的项目是否遵循maven标准,如果没有配置pom告诉它您的来源。您可以通过右键单击源根(在maven标准中为'java')并选择'将目录标记为 - >源根'

IntelliJ recognises that this is a java file, but it's not marked as part of the project source. Check that your project is following the maven standards, and if not configure the pom to tell it where your sources are. You can fix this temporarily in IntelliJ by right clicking on the source root (that's 'java' in the maven standards) and choosing to 'Mark Directory As --> Source Root'

这篇关于Intellij Idea文件带有红色圆圈的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆