简体   繁体   中英

How do you get IntelliJ to recognize muliple tiles views.xml?

I'm using IntelliJ 10 with a Spring Roo project. In the webmvc-config.xml (the spring mvc config context file) IntelliJ allows me to use autocomplete to fill the names of tiles views. However, it only seems to allow autocomoplete the names of views from WEB-INF/layouts/layouts.xml it ignores all the views defien din /WEB-INF/views/**/views.xml. Is there a way to force IntelliJ to recognize these files as tiles config files.

The thing i find annoying about this is that there is an IntelliJ inspection that marks any instance of <mvc:view-controller path="..." view-name="..." as an error if it can't find the view refrenced. Now this doesn't actually stop anything from working. But it is annoying. I'm just trying to figure out if this is a bug in IntelliJ or if there is a setting I missed.

感谢您将问题提交给YouTrack,我们的开发人员将对其进行调查。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM