我如何在java项目中使用jsf标签自动完成

时间:2014-11-18 08:42:38

标签: jsf tags

i'm using eclipse luna and the project used maven, there is a web project and it depends on some java modules, and there are some jsf page (.xhtml) in java modules.

Web项目中的jsf标记可以在java项目中得到充分利用但不能自动完成。 我试过这个" Window>偏好>一般>内容类型>文字> JSP>添加(xhtml)"但不行。 我安装了jboss工具插件,它也不起作用。 我怎样才能在java项目中使用jsf标签自动完成?

1 个答案:

答案 0 :(得分:0)

检查

中的Eclipse设置
  

Windows菜单 - >偏好 - > Java - >编辑 - >内容辅助

默认情况下,自动完成功能使用ctrl + space。