AICHE +
S
Sublime Text Integration

Voice input for classic editor

Speak your docs into Sublime Text. Classic editor with voice power.

Download AICHE
Works on:
macOSWindowsLinux

The short answer: open Sublime Text, position your cursor in a comment or docstring, press ⌃+⌥+R (Mac) or Ctrl+Alt+R (Windows/Linux), speak your documentation for 30-60 seconds, and AICHE inserts formatted text.

Sublime Text users value speed and efficiency, but typing documentation contradicts that philosophy. You navigate and edit code at thought speed, then documentation slows you back to typing speed.

  1. Open Sublime Text with your code file.
  2. Position your cursor where you need documentation (comment, docstring, README).
  3. Press your AICHE hotkey to start recording.
  4. Speak your complete explanation (example: "Add comprehensive docstring to this authentication function. Accepts username and password as string parameters. Validates input length checking username between 3 and 50 characters and password minimum 8 characters. Queries database for user record matching username. Compares provided password against stored bcrypt hash using secure comparison. Returns user object with ID, username, and email if authentication succeeds. Raises InvalidCredentials error with generic message to prevent user enumeration attacks. Logs authentication attempts with timestamps and IP addresses for security monitoring").
  5. Press the hotkey again-AICHE transcribes, applies Message Ready formatting for code comments, and inserts the text.
  6. Format the text to match your docstring style (add comment markers, indentation).

Heads-up: AICHE inserts plain text without language-specific comment markers. You'll add slashes, hashes, or triple quotes manually based on your language, but the verbose content is already there.

The pro-tip: use Sublime Text's multiple cursors to add comment markers to multiple lines simultaneously after voice dictation. Select the lines, press Cmd+Shift+L (Mac) or Ctrl+Shift+L (Windows/Linux) to create cursors, then type your comment prefix once.

Result: function documentation that took 8 minutes to type now takes 90 seconds to dictate, and Sublime Text's efficiency philosophy extends to documentation instead of stopping at code editing.

Do this now: open a file in Sublime Text with an undocumented function, position your cursor above it, press your hotkey, and explain what the code does as if teaching someone new to the codebase.

#development#ide