[
https://issues.jboss.org/browse/JBIDE-23705?page=com.atlassian.jira.plugi...
]
Daniel Dekany commented on JBIDE-23705:
---------------------------------------
In case someone finds this issue... FreeMarker templates won't see anything that
{{java.beans.Inspector}} doesn't, except that FreeMarker has an configuration option
to see things defined via Java 8 default methods (yes, {{java.beans.Inspector}}
doesn't see them for some reason). But, the code that deals with non-property-reader
methods is totally broken anyway. As this plugin was deprecated, I fixed this in my fork
(
https://github.com/ddekany/jbosstools-freemarker), if anyone will need this to be fixed.
no content assist in freemarker templates for interface-based beans
-------------------------------------------------------------------
Key: JBIDE-23705
URL:
https://issues.jboss.org/browse/JBIDE-23705
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: freemarker
Reporter: Ronald Müller
Priority: Major
Fix For: 4.13.x
If your beans in freemarker templates are described by an interface, the code completion
(content assist) will not work.
There two mechanism implemented to provide content suggestion:
# Bean-Introspection: this doesn't work for interfaces
# Java Reflections: there are bugs which prevent any suggestions
My suggestion: use only reflections - it will work for both and isn't that harder to
implement.
I'm working on a pull request for fixing this issue.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)