Cline integrates directly into VSCode’s interface, letting you access AI assistance without disrupting your workflow. These integrations appear as commands in context menus, keyboard shortcuts, and quick fixes throughout the editor.

What are Editor Integrations?

Editor integrations are commands and shortcuts that let you use Cline right where you’re working. Instead of switching to the Cline panel first, you can select code, right-click, and immediately send it to Cline for help. These integrations appear in different places throughout VSCode:

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

Available Editor Integrations

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

How They Work

When you use these commands, Cline:

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

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