PrimeFaces code completion in Eclipse IDE

In Eclipse, as long as your JSF + PrimeFaces project with JSF facet enabled, the PrimeFaces code completion is available automatically.

primefaces code complete in Eclipse ide

Figure : PrimeFaces code assist in Eclipse IDE

Tools Tested :

  1. JSF 2.1.11
  2. Eclipse 4.2
  3. PrimeFaces 3.3

Figure : Steps to enable JSF facet in Eclipse IDE.

project facet in Eclipse ide

For detail instruction to configure JSF facet, please visit this Make Eclipse IDE support JSF 2.0

About the Author

author image
Founder of, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.


2 Comment threads
0 Thread replies
Most reacted comment
Hottest comment thread
2 Comment authors
ali akbar Shahriari GaraeiSaumitra Roy Recent comment authors
newest oldest most voted
Saumitra Roy
Saumitra Roy

Instead , just do the following
Go to Window–>Preferences–>General–>ContentTypes
Select JSP and add .xhtml as file association.

ali akbar Shahriari Garaei
ali akbar Shahriari Garaei

What about PrimeFaces code completion in Intellij IDE?