I am trying to work with an (existing) JSF Project in the current Eclipse (Kepler SR 1). Sadly Eclipse is ignoring the links between JSF/JSP pages and ManagedBeans (via faces-config.xml).
I cannot CTRL-Click on a #{myBean.someValue}
(inside a tag attribute) and I dont get any autocompletion assist when i hit CTRL-Space inside #{}
.
The project is using somewhat ancient library versions - maybe that is a problem?
I tried all the guides on stackoverflow and created a dummy project as described in the JSF Tooling User Guide but none helped. Any help appretiated!
Go to Window -> Preferences -> Editor -> Content Assist -> Advanced and enable Parsing-based Proposals. Click Apply. Content assist should start working immediately. No restart of Eclipse required.
Make sure (Ctrl + Space) combination key is not hijacked by other application. For examples, My desktop computer (Ctrl + Space) combination key is hijacked by my Windows text input feature.
In Eclipse click Windows Drop-Down > Click Preferences > Navigate to Java > Editor > Content Assist In order to Make the Auto suggestion/completion to work you have to set trigger that invoke the Auto Completion.
Go to Windows --> Preferences --> Java --> Editor --> Content Assist --> Advanced --> select all Java & Java Type Proposals. Click on Apply and close it. Restart the eclipse.
I had the same problem with Kepler and solved the problem by
Hope that helps others, too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With