Sypha AI Docs
FeaturesCommands and shortcuts

Commands & Shortcuts Overview

Sypha integrates directly into VSCode's interface, enabling you to access AI assistance without interrupting your workflow. These integrations manifest as commands in context menus, keyboard shortcuts, and quick fixes throughout the editor.

Editor Integration Overview

What are Editor Integrations?

Editor integrations are commands and shortcuts enabling you to utilize Sypha right where you're working. Instead of switching to the Sypha panel first, you can select code, right-click, and immediately transmit it to Sypha for assistance. These integrations manifest in different locations throughout VSCode:

  • In the editor context menu (right-click menu) - "Add to Sypha"
  • In the terminal context menu - "Add to Sypha"
  • In the Source Control view - "Generate Commit Message"
  • As keyboard shortcuts - Various Sypha commands
  • As Quick Fix options (lightbulb menu) - "Fix with Sypha", "Explain with Sypha", "Improve with Sypha"

Available Editor Integrations

Sypha offers several editor integrations, each designed to enhance different aspects of your development workflow:

How They Work

When you utilize these commands, Sypha:

  • Captures the relevant context (selected code, file path, terminal output, etc.)
  • Focuses the Sypha interface
  • Creates a conversation with the captured context
  • In some cases, automatically generates a suggested prompt

Behind the scenes, these commands utilize VSCode's extension API to register commands, access editor state, and control VSCode's interface.

On this page