Editor Features

Beyond the sidebar panel, DevSpeak integrates directly into the VS Code editing experience with keyboard shortcuts, CodeLens annotations, and code actions.

Translate Selection

Select any text in the editor and press Cmd+Shift+T (macOS) or Ctrl+Shift+T (Windows/Linux). The selected text is sent to the translation engine using your current panel settings, and the output appears in the sidebar.

You can also right-click selected text and choose Translate Selection from the context menu.

CodeLens

A "Translate with DevSpeak" lens appears above annotated comments in your code:

  • TODO
  • FIXME
  • HACK
  • NOTE
  • BUG
  • XXX
  • Click the lens to translate the comment text into a formal specification. This is especially useful for converting informal TODOs into structured tickets or specs.

    Code Actions

    When you select text in the editor, a refactor-rewrite quick action becomes available. Access it via the lightbulb menu or Cmd+. (Ctrl+.).

    Iterative Refinement

    After receiving a translation, you can provide feedback directly in the sidebar. DevSpeak will revise the output based on your instructions — the same iterative refinement workflow available on the web platform.

    Full Editor Output

    Translated output renders as formatted Markdown in the sidebar panel, preserving headings, lists, code blocks, and tables.

    History

    Your last 25 translations are listed in the sidebar's History view for quick recall. Click any entry to load its full input and output.