这个符号在IntelliJ中意味着什么? (文件名左下角的红色圆圈,其中带有'J') [英] What does this symbol mean in IntelliJ? (red circle on bottom-left corner of file name, with 'J' in it)

查看:725
本文介绍了这个符号在IntelliJ中意味着什么? (文件名左下角的红色圆圈,其中带有'J')的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我创建的Java项目的IntelliJ目标文件夹下,我在包中有一些java源文件。在每个文件旁边,J图标有一个红色圆圈,旁边有一条直线。

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 line through it.

这是什么意思?我该如何解决?

What does that mean? How do I fix it?

推荐答案

您需要指定源目录

File> Project Structure > Modules

点击目录并点击Sources按钮

click the directory and click the Sources button

这很奇怪,因为通常是自动完成的。如果再次重新创建项目,可能会更好。

It's weird because usually it's done automatically. Maybe it's better if you recreate the project again.

这篇关于这个符号在IntelliJ中意味着什么? (文件名左下角的红色圆圈,其中带有'J')的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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