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

查看:45
本文介绍了这个符号在 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

点击目录并点击来源按钮

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天全站免登陆