AICHE +Vscode Integration
Voice for code comments and docs
Write documentation and comments faster with voice.
The short answer: open VS Code, position your cursor in a comment block or README file, press ⌃+⌥+R (Mac) or Ctrl+Alt+R (Windows/Linux), speak your documentation or explanation for 30-45 seconds, and AICHE transcribes and inserts the formatted text.
Typing thorough documentation and comments takes 12-15 minutes per function, and context-switching between thinking about logic and typing prose slows both processes.
- Open VS Code with your project.
- Position cursor where you want text (comment block, markdown file, or commit message field).
- Press your AICHE hotkey to start recording.
- Speak your explanation naturally (example: "this function validates user input by checking email format, verifying domain existence, and rejecting disposable addresses").
- Press the hotkey again-AICHE transcribes, applies Message Ready formatting, and inserts the text.
- Edit for technical accuracy if needed, then continue coding.
Heads-up: AICHE transcribes your spoken words literally. If you say "create a function that adds two numbers," it inserts that sentence-it won't generate function syntax. Use AICHE for explaining code to humans, not writing code itself.
The pro-tip: when documenting complex functions, speak while looking at the code on screen. This produces more accurate descriptions than trying to remember implementation details from memory.
Result: a comprehensive README that takes 18 minutes to type becomes 5 minutes of dictation, and function docstrings get written immediately instead of being postponed.
Do this now: open any code file with an undocumented function, add a comment block above it, press your hotkey, and dictate what the function does and why it exists.