Page 1 of 1
Prime Faces code completion in eclipse?
Posted: 18 Feb 2010, 15:21
by Sadric
Hi guys,
I'm having a hard time getting code completion to work in Eclipse (ganymede) with prime faces (2.0.0). Not quite sure what I'm doing wrong, but I assume it has something to do with the taglibs not being picked up somewhere. Can anyone give me some pointers?
Thanks!
Re: Prime Faces code completion in eclipse?
Posted: 18 Feb 2010, 15:25
by Driton
Hi sadric,
please read this point into the Manual from Page 343 - 345.
In short for you :
Open in Eclipse Preferences - > General -> Content Types -> Text -> JSP and add *.xhtml extension to
the list...
Regards Toni
Re: Prime Faces code completion in eclipse?
Posted: 18 Feb 2010, 15:32
by Oleg
I use JBoss Tools as Eclipse PlugIn and its Palette. I've never changed Preferences - > General -> Content Types -> Text -> JSP. JBoss Tools and JSF works fine together.
Re: Prime Faces code completion in eclipse?
Posted: 18 Feb 2010, 15:54
by Driton
Hi Oleg,
thats a good Idea! I'll try it also, thanks for your hint.
Re: Prime Faces code completion in eclipse?
Posted: 18 Feb 2010, 16:33
by cagatay.civici
Trick in documentation is for plain Eclipse EE, if you have jboss tools, that would work as well, even better.
Re: Prime Faces code completion in eclipse?
Posted: 19 Feb 2010, 09:52
by Sadric
Aha, I missed that bit in the manual, works like a charm now, thanks!
Re: Prime Faces code completion in eclipse?
Posted: 19 Feb 2010, 14:02
by cagatay.civici
No worries, it is a huge document
Re: Prime Faces code completion in eclipse?
Posted: 17 Dec 2010, 19:23
by wanted.alive
just donĀ“t forget to open your file with the JSP Editor, because often we use another extension for files, like .xhtml.
just right click on file, Open With -> Other... -> JSP Editor