Eclipse autocomplete (content assist) with facelets (jsf) and xhtml

前端 未结 10 1223
时光说笑
时光说笑 2020-11-27 02:45

How to activate eclipse (3.5, WTP) content assist in .xhtml pages for JSF (1.2) tags, using facelets? It works in .jsp files, but not xhtml.

I google a lot, and in m

10条回答
  •  孤城傲影
    2020-11-27 03:29

    Suggestion: in eclipse Indigo(classic) and working with maven projects

    as the picture you can see bellow, can't find Project Facets selection that @mist suggested (because am haven't installed any plugins but m2e I guess).

    enter image description here

    so, I did this to solve that issue:

    Window >> Preference >> General >> Content Types >> XML >> Add file association (*.xhtml)

    this work not so well (content stoppage).

提交回复
热议问题