Skip to main content

Voice Coding Overview

Talon community offers commands for inserting code in numerous languages. Formatters make dictating identifiers easier. Operator commands support dictating things like variable assignment, mathematical operators, and comparison operators. Symbol commands allow greater flexibility and handling paired delimiters like parentheses. Snippets allow efficiently dictating formulaic code patterns and are used for things like control flow statements, class and function definitions, return statements and more. Additional commands exist on a per language basis to make common tasks easier.

Cursorless offers the state of the art approach to editing code by voice.

Activating Languages

Community support for specific programming languages may be activated by voice commands, or via title tracking.

The command force (language name) will activate the commands for the specified language globally, e.g. they'll work in any application. This will also disable the title tracking method until the clear language modes voice command is used to return to using automatic language activation.

By default, title tracking activates languages in supported applications such as VSCode, Visual Studio (requires plugin), and Notepad++ by automatically using the extension of the active file to infer the active programming language.

To enable title tracking for your application:

  1. Ensure the active filename (including extension) is included in the window title.
  2. Implement the required Talon-defined win.filename action to correctly extract the filename from the window title. See the win.filename action implementation in the Visual Studio Code python file for an example.