2

我在我的项目中使用 IntelliJ IDEA(终极版,v12.1.3)。我们使用 JSF 来显示我们的页面和messages_en.properties(或 *_different_language)来处理 i18n/l10n。

.properties 文件由我们的自定义org.springframework.context.MessageSource接口实现处理。

在 JSF 页面中,我希望 Idea 自动完成/链接到我们的 .properties 文件,例如。用这样的代码:

<!--@elvariable id="msg" type="org.springframework.context.MessageSource"-->
<ib:output_text value="#{msg.base_client_name}"/>

应该是“可点击的{msg.base_client_name}”(并且没有标记为警告“无法解析属性或方法base_client_name)。有没有办法配置想法来做到这一点?我知道这适用于不同的项目,但我无权访问项目配置了。

4

0 回答 0