The query editor in the Data Explorer does not insert a space if the user types Shift+Space. This is very annoying for those of us who prefer to type SQL keywords in upper-case. Sometimes I haven't let go of the shift key until after I type the space, or sometimes there are two keywords in a row (i.e. ORDER BY).

  • 2
    PS: I really don't care whether it enters an upper-case space or a lower-case space. ;) – Kip Jun 11 '10 at 14:49
  • 1
    done, I really do not know why code mirror chose those defaults, it is confusing, I just deleted the code for shift space handling – waffles Jun 14 '10 at 7:50
  • note I fixed this ... again ... yesterday. It was working for ie/firefox but was broken on webkit. – waffles Jun 23 '10 at 23:53

Yeah I write SQL keywords in upper case as well, so I'd love to see this fixed.

In fact the behaviour is even more annoying if you've pasted in a query with indentation that you're going to edit -- pressing Shift+Space actually unindents the current line completely.

| improve this answer | |
  • yerp I got rid of all those sill "electric keys" this should not happen anymore – waffles Jun 23 '10 at 23:54
  • @waffles: I noticed the last time I was on there. Thanks! – Jon Seigel Jun 24 '10 at 0:04


| improve this answer | |
  • 1
    Who needs CAPSLOCK when you have STICKY KEYS? – Grace Note Jun 11 '10 at 15:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .