allow custom shortcuts, like CTRL + K + D (Visual Studio)

Refactors and formats SQL code.

Moderators: Chris Auckland, David Atkinson, Anu Deshpande, Luke Jefferson

allow custom shortcuts, like CTRL + K + D (Visual Studio)

Postby cosminadi » Sun Oct 11, 2009 10:12 pm

Why do I have to type CTRL + B + U and also CTRL + B + L to get a reformat, when I should only press CTRL + K + D (the same as Visual Studio reformat) and get all uppercase + layout ?

Am I retarded, or this makes the most sense? Why not be consistent, Redgate? OR at least allow me to customize the shortcuts...
cosminadi
 
Posts: 1
Joined: Sun Oct 11, 2009 10:08 pm

Postby Chris Auckland » Tue Oct 13, 2009 4:11 pm

Thanks for your post.

Unfortunately SSMS has reserved the combination Ctrl+K, Ctrl+D for its own (Format Document) command. I presume they're planning to implement their own formatting in a future version.

For this reason we are unable to use it :(
Chris
Chris Auckland
 
Posts: 757
Joined: Tue Oct 24, 2006 2:12 pm
Location: Red Gate Software Ltd.

Postby soatley » Mon Nov 16, 2009 9:10 pm

I too am looking for this feature, although, from the sounds of it, it is not possible. What about allowing a shortcut key that can do more?

For example, if I wanted to Layout my SQL and Uppercase my keywords, it would be nice to do that in one command.... like a custom shortcut. The user can choose (under Options) what the shortcut key is and what options it will automatically perform. Like a Macro??

Shawn
soatley
 
Posts: 7
Joined: Wed Jun 03, 2009 4:14 pm


Return to SQL Refactor 1

Who is online

Users browsing this forum: No registered users and 0 guests