Meet IntelliCommand (Visual Studio 2010/2012 extension)

How many shortcut keys you know in Visual Studio? Do you want to know all of them? I know how you can learn them very easy.

I'd like to introduce you a cool extension for Visual Studio 2010/2012 which I wrote with help of my colleagues Drake Campbell and Aditya Mandaleeka. Let me just copy-paste description from Visual Studio Gallery:

IntelliCommand - an extension for Visual Studio 2010 and 2012 which helps to find the short keys. It shows the help windows with all possible combinations when you press Ctrl or Shift or Alt or their combinations (hold it for about 2 seconds to see this window). Also it shows the list of possible combination when you press first combination of chord shortcut keys, like Ctrl+K, Ctrl+C (this combination comments selected text in editor).

Couple screenshots:

IntelliCommand shows all available shortcut keys for combination of Control + Shift after couple seconds:

Ctrl+K was pressed. Visual Studio waits for second combination:

Available options for Intelli Command. The delay of showing Intelli Command window. Customization of Intelli Command window look:

Download IntelliCommand from Visual Studio Gallery.

Feedback is welcome!

Comments (24)

Alhassan Abdulkadir ( ) #
gravatar
Wow, you, sir, are awesome.
Rob Prouse ( ) #
gravatar
What a coincidence. We were talking about writing the exact same thing this week. You guys are amazing, thanks for saving me the work!
Daniel ( ) #
gravatar
Are you sure this extension is working?

I tried several keys combinations but no window appeared.
Rob Prouse ( ) #
gravatar
@Daniel - Works for me. There is a delay though. Try holding down the CTRL or SHIFT key for 2 seconds. The window will appear then change as you type.
Daniel ( ) #
gravatar
Nope, I'm sure I've pressed Ctrl, Shift, Ctrl+Shift for more than 2 seconds. Nothing happened...

I'm running VS 2010, with some other extensions installed.
Denis Gladkikh ( ) #
gravatar
Daniel, I know about couple problems with VS:
  • IntelliCommand doesn't support non-En versions of VS (and I don't think that this can be solved in near future).
  • I saw also some strange behavior on couple machines, where VS API which provides me information about key bindings, just doesn't provide me it.

If you can try to use this version of IntelliCommand, it is not an update, it is just a debug bits of IntelliCommand, which provides more information to Output window. After you will launch VS with this version of IntelliCommand - could you just send me back to outcoldman at outlook.com everything you will have in Output->IntelliCommand window?

Christoph ( ) #
gravatar
Great tool! Can you add Support for ReSharper commands (or other extensions)?
Christoph ( ) #
gravatar
OK. Looks like some ReSharper commands show. Ctrl+Alt shows commands, Ctrl+R does not ... Is there a difference within the VS API?
Denis Gladkikh ( ) #
gravatar
Christoph, it should show all active ReSharper commands. My guess is that you didn't see Ctrl+R commands because of you didn't have focus in Editor when you've pressed Ctrl+R. IntelliCommand shows only available commands for current scope.
Christoph ( ) #
gravatar
Denis, you are right, it works perfectly! Sorry about that. Didn't have the cursor on a method with return value (Ctrl-R, V)! Thanks for the awesome extension! I might get rid of all my cheat sheets now! :-)
chall3ng3r ( ) #
gravatar
Really useful. I never get around with VS's combo-shortcuts :)

Thanks for sharing.

// chall3ng3r //
Tom Carver ( ) #
gravatar
Superb, very handy indeed, Thanks!
Rich ( ) #
gravatar
I am always wondering what other shortcuts are available to me. Impressive work!
PHenry ( ) #
gravatar
I'm a VS keyboard junkie! I'm trying this addin now and liking it. The "hang-time" takes a bit of getting used to, but it's growing on me. I used to add a shortcut for CTRL+SHFT+ALT+? to navigate to the Tools/Options/Environment/Keyboard section, but this shows promise for me to "stay in the code (with overlay) and not stray my focus." Cool work!
涟漪 ( ) #
gravatar
It Doesn't work in the version of Chinese
Denis Gladkikh ( ) #
gravatar
涟漪, this is known issue. I don't have a solution to fix this issue.
Tom Carver ( ) #
gravatar
Great tool but I have noticed a bug, where's the best place to report it? It consistently causes VS to hang for 20+ seconds (i.e. until I kill VS), when I try to find all references (Ctrl+K, Ctrl+R) on a constructor with multiple overloads in a large solution. The "searching solution" dialog appears but does not progress and the cancel button is non-responsive. When I kill the process, the IntelliCommand window appears behind the dialog (it isn't visible until this point). No idea how this could be happening (could it be stealing focus somehow?), but when I disabled the extension the problem stopped. I still plan to re-enable the extension ;)
Denis Gladkikh ( ) #
gravatar
Tom, I tried to reproduce this issue with no luck. I will try to investigate it more. If you can - please provide more information about what version of VS you are using, what version of R# you are using. And if you can - please collect a dump. Send everything to my email which you can find here.
James Skemp ( ) #
gravatar
FYI, a bit of a bug:

In the Visual Studio options menu the tab order is incorrect. Goes from Key combinations delay to OK, to Cancel, to General, to Window Theme, ...

Whoops!

Otherwise, very cool. Wish I would have discovered this sooner!
Denis Gladkik ( ) #
gravatar
Thank you James! Maybe one day this bug will be fixed ;)
Tom Carver ( ) #
gravatar
Apologies for not getting back to you in so long. Finally re-enabled the extension yesterday and the issue I reported with find-all-references flared up again, this time on a property not a constructor. It's only happened once so far but I haven't had VS freeze in a long time. I don't have R# installed, just vanilla VS 2012 Premium 32bit, 11.0.60610.01 Update 3, but given I originally logged the issue before Update 1 was out it's not limited to a single VS version.
Richard Greenaway ( ) #
gravatar
I was using this extension happily with VS2010 until I changed to Win7 x64 from x86. I discovered that when I invoked certain hotkeys (Ctrl-F5, Ctrl-Z, Ctrl-Shift-F9 and possibly others) the commands did not execute AND the corresponding menu item became disabled. Re-building the project or re-starting VS would re-enable the menu items. Disabling IntelliCommand seems to have resolved the issue.

Any ideas?

Thanks
Denis Gladkik ( ) #
gravatar
Tom Carver, Richard Greenaway I don't know how to reproduce this issues, could not reproduce it on my machine. This extension is Open Source now, so I will post some information later about how you can try to debug it. Hope that together we will find all these issues and fix them ;)
Matthew Copeland ( ) #
gravatar
Bravo. [Long standing ovation]
Submit Comment
If you want to get notifications about new comments at this topic, please fill email text box and check proper item. If you want to place source code in comment body place it in tags [code]...[/code], you can set language like this [code cs]...[/code], where cs can be cs, html, xml, java, js, php, sql, cpp, css.

 

busy