Skip to content

[ENHANCEMENT] Keyboard shortcut to Add to Context from editor selection #7907

@hannesrudolph

Description

@hannesrudolph

Type

Enhancement

Problem

Adding selected code to the conversation requires a right‑click and navigating menus, which slows a frequent action.

Context

  • Users often want to send the current selection to Roo as context without leaving the keyboard.
  • Today this action is only available via the editor context menu.

Desired behavior

  • Provide a default keyboard shortcut (e.g., ⌘+' on macOS, Ctrl+' on Windows/Linux) that:
    • Immediately adds the current editor selection to Roo’s context (same as “Add to Context”).
    • Focuses Roo’s input so typing can continue right away.

Constraints/Preferences

  • Keep the interaction lightweight and consistent with existing “Add to Context” behavior.
  • Do not alter current right‑click and code‑action entries; this only adds a keyboard path.

Metadata

Metadata

Assignees

Labels

Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.enhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions