9

you know how Iron Man was using voice commands for his IDE in the movie? Are there any Visual Studio plugins that can do that kind of thing? If not, how do you go about making them yourself?

3
  • 2
    Why would you want to do this? Commented Aug 4, 2009 at 19:58
  • 2
    Along that vein, I would like it to recognize "fix bug" Commented Aug 4, 2009 at 19:59
  • 1
    +1 for making me aware of the existence of the "code-by-voice" tag... Commented Aug 4, 2009 at 20:07

7 Answers 7

5

Visual Studio Voice Commands

Soon to be called Bob I think!!

Sign up to request clarification or add additional context in comments.

Comments

2

There's a plug in I use at home that works well but is slightly finicky. It doesn't do the actual programming, but more of an aid to eliminate the shortcuts. Essentially, any function that you can run using shortcut commands you can run using this plug in. To get a list of the available functions go to this MSDN article.

It's ThirdHand at codeplex.com and as far as I can tell it only works on VS 2008 since it uses .Net 3.5. Make sure to read my post on in the discussion board on how to reset it if there are any problems.

It's been awhile since I've seen in the movie, so I hope this is similar to what you're talking about.

Comments

2

With Vocola it's pretty easy to create voice commands for Visual Studio or any other application. Here's an example which connects a spoken phrase to a keystroke sequence:

Save File = {Ctrl+s}; 

When you say "Save File" it sends the keystroke "Control-s", and your file is saved.

A few useful commands for Visual Studio (note "#" is the comment character):

Find in Files = {Ctrl+F}; Switch Tab = {Ctrl+Tab}{Enter}; Close Solution = {Alt+f}t; Touch Go = {LeftButton}{F12}; # "Go To Definition", e.g. of method name mouse is pointing to Touch References = {RightButton}a; # "Find All References", e.g. of method name mouse is pointing to Rename All = {Alt+Shift+F10} Wait(100) {Enter}; # Renames all references, e.g. to a method you just renamed 

With a little thought about what commands you need and a little practice using them, programming gets a lot faster.

Comments

1

Take a look at Microsoft Speech SDK, as well as Visual Studio Integration. There are a BUNCH of tutorials (just google) on both, and in VS2008 there's even templated Integration projects out of the box...

1 Comment

Why was this downvoted? The answer is somewhat unspecific, but so is the question.
1

You can try the Sempu VS extension. It also allows you to set your own commands.

http://visualstudiogallery.msdn.microsoft.com/f2964c90-68e2-4ddd-861a-bd66e5cd4434

Not yet compatible with VS 2013 (preview) as of this date, accepted answer is.

Comments

0

I code by voice in Visual Studio and SQL Server Management Studio using Dragon NaturallySpeaking Professional. I've been doing this for years, and played around with creating my own add-ins for Visual Studio. They harvest my class and variable names and help me build my custom programming vocabularies. Unfortunately, saying "fix bug" would simply dictate that text, but I can write code and control the IDE pretty well.

Comments

0

If you have Dragon NaturallySpeaking Professional Version you could probably make use of some of the following scripts which I have created using Visual Basic Advanced Scripting for Dragon NaturallySpeaking.

https://github.com/Mark-Phillipson/DragonScripts/wiki/Visual-Studio-Commands

2 Comments

The link has been changed to a live one
I have refreshed the link to github

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.