Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Annotation declared managed beans and code completion in Eclipse Inidigo [duplicate]

How can I get auto completion for managed beans in Eclipse Indigo when the Managed Beans are declared via Annotations rather than with a faces-config.xml?

If this function is missing the whole point of xml-less declaration is gone (for me). :(

Thanks in advance!

like image 226
hugri Avatar asked Oct 10 '22 15:10

hugri


1 Answers

This isn't supported by Eclipse out the box. You'd need to grab a plugin for this. As far there's only the JBoss Tools plugin wherein this feature is implemented since milestone version M3 (currently still in beta/development stage).

enter image description here

You can get it from the Eclipse update site at http://download.jboss.org/jbosstools/updates/development/indigo/.

This has currently only one minor bug: @ManagedBean beans without a name are not picked up, only those with name are picked up.

like image 96
BalusC Avatar answered Oct 13 '22 09:10

BalusC