Hotkeys in editor


I saw that keyboard shortcuts in editor were removed after the 2.4 version but why?
I would appreciate very much if I could run the script without take off the hands of the keyboard to point the mouse pointer and clicking, as well as I do in Sql Server Management Studio, where I can just press F5 just after ending typing.

Is it really true that there's no hotkeys in editor? It would be a silly question, but it's something very practical and facilitates the work.


Closed Jan 21 at 11:38 AM by ErikEJ
in 4.2 preview


ErikEJ wrote Dec 12, 2013 at 6:02 AM

I had issues with F5 being captured by the Shell (Debug), but keyboard shortcuts would be great, feel free to contribute a patch.

N_Neto wrote Dec 14, 2013 at 6:50 PM

I would like to do it, but I'm too newbie to know even where to start it lol

Clintonzz wrote Jan 28, 2014 at 5:53 AM

InteXX wrote Jul 9, 2014 at 4:33 AM

Could you use Ctrl+R instead of F5? I believe I saw VS using that combination at one point (when it still had a decent query editor).

A keystroke to run a query would be very handy indeed.

wrote Jul 21, 2014 at 6:56 AM

InteXX wrote Jul 22, 2014 at 1:33 AM

Hi Erik

I'd like to contribute this (in C#, I can translate well enough for this simple task).

How would I get started? I'm new to GIT in VS2013 and only recently published my first CodePlex project.

Jeff Bowman
Fairbanks, Alaska

ErikEJ wrote Jul 22, 2014 at 6:15 AM

@Jeff Sounds great, for this small task, I suggest you simply just email me the changed file, and I will incoroporate it (and credit you, of course). The file you need to add to is: https://sqlcetoolbox.codeplex.com/SourceControl/latest#SqlCe35Toolbox/ToolWindows/SqlEditorControl.xaml.cs - if you look at older versions of this file, you will see that there is code for keyboard support included. I suggest Ctrl+R for Execute, and maybe include a tooltip for the button to indicate this.

I am planning to release version 4 in september sometime, and it would be great to have this feature included

wrote Jul 23, 2014 at 5:35 PM

InteXX wrote Jul 23, 2014 at 11:29 PM

Very good, that's what we'll do then.

Jeff Bowman
Fairbanks, Alaska

wrote Oct 19, 2014 at 11:37 AM

wrote Dec 1, 2014 at 9:17 AM

wrote Dec 1, 2014 at 9:17 AM

wrote Dec 2, 2014 at 6:09 PM

Associated with changeset 92393.

wrote Dec 2, 2014 at 6:11 PM

N_Neto wrote Dec 3, 2014 at 4:52 PM

Awesome! That's great! I can't wait to start using it xD
Thank you guys.

ErikEJ wrote Dec 3, 2014 at 5:18 PM

Please note that only Execute - Shift-F5 is implemented, still lookng for unused hotkeys for Save (at least)

ErikEJ wrote Dec 16, 2014 at 3:51 PM

This is now available in the preview release here: https://sqlcetoolbox.codeplex.com/releases/view/151574

wrote Jan 5 at 6:36 AM

wrote Jan 5 at 3:18 PM

Associated with changeset 92599.

wrote Jan 5 at 5:11 PM

wrote Jan 21 at 11:38 AM