[hibernate-issues] [Hibernate-JIRA] Updated: (HBX-895) Content assist doesn't work when an entity alias is not preceded by whitespace

Dmitry Geraskov (JIRA) noreply at atlassian.com
Tue Jun 16 09:53:33 EDT 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Geraskov updated HBX-895:
--------------------------------

    Attachment: patch.zip

This patch includes 2 patches - for hibernate-tools and hibernate-tools plugins.
,()" - considered as separators.

> Content assist doesn't work when an entity alias is not preceded by whitespace
> ------------------------------------------------------------------------------
>
>                 Key: HBX-895
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-895
>             Project: Hibernate Tools
>          Issue Type: Bug
>    Affects Versions: 3.2beta8
>            Reporter: Joseph Marques
>         Attachments: patch.zip
>
>
> In an HQL editor:
> If I type - "count(col." - and press ctrl+space, I don't get the content assist for col
> If I type - "count( col." - and press ctrl+space, I do
> Similarly,
> If I type - "select a,b." - and press ctrl+space, I don't get the content assist for b
> If I type - "select a, b." - and press ctrl+space, I do
> It's pretty clear that the lexing is a little bit too tight here, and that for better usability it should be relaxed.  The second case isn't as big a deal as the first (because I don't know a single person that doesn't comma-space delimit the select clause, but I'm thinking that some people that don't realize that they have to put a space in front of it might think that the tools simply can't auto-complete inside functions.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list