How can we help you today? How can we help you today?

Bug: Ctrl+Enter after sql keyword jumbles text

Howdy,

When I used Ctrl+Enter with my cursor against a sql keyword, the keyword gets jumbled. Depending on the keyword, there must be text above the cursor's line for this to happen.

Example:

SELECT
*
FROM
sys.objects AS o
WHERE name LIKE '%z%'
GROUP BY| -- cursor here

/* results in */

SELECT
*
FROM
sys.objects AS o
WHERE name LIKE '%z%'

GROUBYBY


Thanks!
-Noodle
noodle
0

Comments

2 comments

  • Aaron L
    Wow that’s pretty odd, thanks for pointing this out and providing the reproduction steps. I'll look into seeing if I can figure out why it's doing that.

    Thanks,
    Aaron.
    Aaron L
    0
  • Aaron L
    I think I have a fix for you in this private build - We didn't take into account that you can insert a newline before the caret when changing the case of a keyword.

    Out of curiosity which build are you currently using? (I had to set my keywords to lowercase to reproduce it on 6.2 since prompt should have left "BY" alone as it's already in uppercase)
    Aaron L
    0

Add comment

Please sign in to leave a comment.