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
mkyong
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

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

What about PrimeFaces code completion in Intellij IDE?

Saumitra Roy
Guest
Saumitra Roy

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