Inflammation - Line Aware Voice-to-Code ExtensionInflammation lets you dictate code inside VSCode/Cursor. It's context aware and let's you convert speech like
into
It's named inflammation because it's gotten hard for me to type on some days due to inflammation and I needed something I can dictate to on a line-per-line basis. ContributeThis extension is simple enough for my needs. Please help improve it by submitting a PR. UsageAfter installing, hit cmd + shift + z to start listening. Release when you're done talking. And that's it. You can change the hotkey by going into your keyboard shortcut prefs: Preferences :Open Keyboard Shortcuts. from the command pallete. InstallationFrom VSCode Marketplace:https://marketplace.visualstudio.com/items?itemName=moughxyz.inflammation From vsix file:You can find the .vsix files in the vsix dir on GitHub: Prerequisites1. Audio Recording SoftwareThe extension requires audio recording software to be installed on your system:
2. OpenAI API KeyYou'll need an OpenAI API key with access to:
Get your API key from: https://platform.openai.com/api-keys InstallationFrom VSCode Marketplace:https://marketplace.visualstudio.com/items?itemName=moughxyz.inflammation From Source (Development)
Building the ExtensionTo create a
UsageFirst Time Setup
Recording Audio
The extension will:
ConfigurationYou can configure the extension in VSCode settings:
To change your API key:
Troubleshooting"Failed to start recording"
"No speech detected"
API Errors
Running Tests
ContributingPull requests are welcome! Please ensure your code follows the existing style and includes appropriate tests. LicenseMIT SupportFor issues and feature requests, please use the GitHub issue tracker. |