Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Visual Studio, change the keyboard to use an F key for "execute sql"

In Visual Studio 2010, I have a Database Project. I can use this without issue to view, edit, create sprocs, etc.

How can I change the keyboard to allow me to use an F key for "execute sql" as I would use F5 in MSSMS. I can't seem to find the right binding sequence in Tools-Options-Keyboards and figured it would be faster to ask the community, so I can focus on writing code atm.

Much obliged. (And yes, I admit I'm being lazy, but my googlefu has given up the ghost this morning and I'm just curious, it's not stopping me)

like image 445
jcolebrand Avatar asked Jul 29 '10 16:07

jcolebrand


1 Answers

I was having the same issue... I also bound F5 to QueryDesigner.ExecuteSQL. No go. Then I bound F5 to Data.SqlEditorExecuteSQL. Still no go... But then I unbound F5 from QueryDesigner.ExecuteSQL and it worked... now I can hit F5 and execute a query. I was worried there for a bit.

Screenshot
Screenshot

like image 193
Shoeless Avatar answered Oct 19 '22 10:10

Shoeless