Welcome to SQLDBcontrol Forums Sign in | Join | Help
in

Bugs - v1.4.21 - 1

Last post 12-04-2006, 18:28 by admin. 3 replies.
Sort Posts: Previous Next
  •  12-04-2006, 15:50 121

    Bugs - v1.4.21 - 1

    When you create a new script and declare a variable, the intellesense menu that appears when typing the datatype is wrong.

    When I typed, "DECLARE @ProductID i" the i triggered an intellesense menu with "inner join" and "insert into" to appear instead of "int".

    -A

    Aaron Akin
    Database Administrator
    Insala, LLC
    AIM: AaronInsala
  •  12-04-2006, 16:06 122 in reply to 121

    Re: Bugs - v1.4.21 - 1

    Thanks Aaron,

    We've been playing around with including intellisense for various T-SQL keywords.  In your case typing the letter "i" triggered the intellisense for "inner join" and "insert into".  This however shouldn't have prevented you from typing out "int" if that was your intention.

    We could do a couple of things here, either add all the datatypes into intellisense so in this case "int" would be a third item in the intellisense list or when you're typing "i" (for example) backtrack a little bit and use some intelligence to determine whether "inner join" and/or "insert into" fit into the context of the statement you're writing.  The latter is obviously a bit trickier to achieve.

    For now I'm inclined to say that we include datatypes into the intellisense but let me know if you think this is sufficient.

    Regards,


    SQLDBcontrol Support

    support@sqldbcontrol.com
  •  12-04-2006, 16:30 125 in reply to 122

    Re: Bugs - v1.4.21 - 1

    I think that would probably be sufficient for now, but I think it would make more sense to only show datatypes in this case.

    -A

    Aaron Akin
    Database Administrator
    Insala, LLC
    AIM: AaronInsala
  •  12-04-2006, 18:28 126 in reply to 125

    Re: Bugs - v1.4.21 - 1

    As is often the case, the trickier solution didn't turn out to be as tricky as I expected.

    So whenever you press space after declaring a variable you now get a list of datatypes to select from, which overrides the "inner join" and "insert into" intellisense.

    This will be available in the next build (1.4.24).

    Regards,


    SQLDBcontrol Support

    support@sqldbcontrol.com
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems