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

mkyong

Founder of Mkyong.com, passionate Java and open-source technologies. If you enjoy my tutorials, consider making a donation to these charities.

2 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
ali akbar Shahriari Garaei
7 years ago

What about PrimeFaces code completion in Intellij IDE?

Saumitra Roy
13 years ago

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