项目文件上的intellij图标 [英] intellij icon over project files

查看:122
本文介绍了项目文件上的intellij图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

intellij已经在我的java文件(带有直线的红色圆圈)周围放置了看起来没有条目标志的东西,但找不到原因?请问有人知道吗。

intellij has placed what look like no entry signs over my java files (red circles with a line through) searched around but cannot find why? Would anyone know please.

这是一个maven项目,如果它有所作为

It's a maven project if that makes a difference

推荐答案

这意味着这些文件不属于项目设置。你是如何创建该项目的?

It means those files aren't part of the project settings. How did you create that project?

我不确定你使用的是哪个版本的IntelliJ - 我运行9.0.1。我建议打开项目结构(扳手右侧的图标或Ctrl + Alt + Shift + S),单击模块,然后指定.java文件所在的目录作为源目录(它会变成蓝色。)

I'm not sure which version of IntelliJ you're using - I run 9.0.1. I'd recommend opening the project structure (icon to the right of the "wrench" or Ctrl+Alt+Shift+S), click on "Modules", and designate the directory where the .java files are located as a source directory (it'll change to a blue color).

这篇关于项目文件上的intellij图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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