为什么IntelliJ只能“编译”某些资源?
我正在运行 10.5.2 社区版。我已将
src/main/resources
标记为源目录。我可以右键单击并“编译”某些文件,据我所知,这意味着 IDE 将文件复制到与发送类文件的“com.mydomain.packages”相同的目录级别。我的问题是为什么我可以“编译”XML 和 HTML,但是当我右键单击 CSV 时,编译选项呈灰色?
I'm running 10.5.2 community edition. I have marked
src/main/resources
as a source directory. I can right click and 'compile' certain files which as far as I can tell just means the IDE copies the file to the same directory level as "com.mydomain.packages" where class files are sent. My question is how come I can 'compile' XML and HTML but when I right click on CSV the compile option is greyed out?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它是在 Settings>Compiler
http://www.jetbrains.com/idea/webhelp 下配置的/编译器.html
It is as configured under Settings>Compiler
http://www.jetbrains.com/idea/webhelp/compiler.html