A extremely experimental extension for VS Code that lets you execute a subset of the editor's commands with your voice using Microsoft's Cognitive Service Speech SDK
- VS Code version 1.58.2 (any other versions must be running electron version 12.0.13)
- x64 Windows OS
- An Azure subscription key
- cmake
- nuget
- yarn
Before building, you'll need to create an env
file in the root directory that looks like this:
SUBSCRIPTION_KEY=your-azure-subscription-key-here
REGION=the-region-used-in-your-azure-account
To build and run the extension, execute the following commands:
yarn
- Install dependenciesyarn native:configure
- Configure C++ buildyarn compile:all
- Build C++ code and compile TS codeF5
- Start the extension
In order to activate dictation, you'll need to have at least one file open. You should see a microphone icon at the top right of the editor. To get a sense of what commands and phrases you can say, take a look at command-map.ts and commanding.ts