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

Joseph Marques (JIRA) noreply at atlassian.com
Thu Feb 22 18:52:31 EST 2007


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
        Type: Bug

    Versions: 3.2beta8    
    Reporter: Joseph Marques


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