Main Tutorials

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 Author

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

Comments

Subscribe
Notify of
2 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
ali akbar Shahriari Garaei
5 years ago

What about PrimeFaces code completion in Intellij IDE?

Saumitra Roy
11 years ago

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