Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

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).

share|improve this question
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
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.

share|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


share|improve this answer
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 .