Discussion:
[jboss-user] [JBoss Tools] - Re: hibernate IDE tools - jpa-ql auto-complete broken when formatted
Denis Golovin
2013-07-10 00:05:54 UTC
Permalink
Denis Golovin [https://community.jboss.org/people/dgolovin] created the discussion

"Re: hibernate IDE tools - jpa-ql auto-complete broken when formatted"

To view the discussion, visit: https://community.jboss.org/message/827200#827200

--------------------------------------------------------------
I guess it doesn't work because content assist processor is not supporting strings with concatenation, it just does parsing fbetween '\"' and tries to suggest list of proposals. As an option (not sure if that is possible) I would try to configure formatter to do not break long strings.

Feel free open JIRA issue as Bug or Feature request in JBossTools JIRA https://issues.jboss.org/browse/JBIDE here. It could be possible to detect simple string concatenation like this and provide content assist for simple cases like "string" + "string". It is not supposed to work for something more complicated than that i.e. "string" + var + "string".
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/827200#827200]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
darren hartford
2013-07-10 13:23:17 UTC
Permalink
darren hartford [https://community.jboss.org/people/dhartford] created the discussion

"Re: hibernate IDE tools - jpa-ql auto-complete broken when formatted"

To view the discussion, visit: https://community.jboss.org/message/827338#827338

--------------------------------------------------------------
thanks - Digging a little further, there is an old ticket JBIDE-437 with the same described problem, but it was closed in 2007 as a duplicate to an 'hbx' ticket (but no direct reference, so unsure).

I've opened a new ticket since the JBIDE-437 couldn't be reopened here:  https://issues.jboss.org/browse/JBIDE-15166 https://issues.jboss.org/browse/JBIDE-15166
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/827338#827338]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Denis Golovin
2013-07-10 17:54:25 UTC
Permalink
Denis Golovin [https://community.jboss.org/people/dgolovin] created the discussion

"Re: hibernate IDE tools - jpa-ql auto-complete broken when formatted"

To view the discussion, visit: https://community.jboss.org/message/827382#827382

--------------------------------------------------------------
I scheduled new issue for next maintenance and next alpha1 release. I also added references to duplicate issue in hibernate https://hibernate.atlassian.net/browse/HBX-879 https://hibernate.atlassian.net/browse/HBX-879.
Thanks.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/827382#827382]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Loading...