Skip to content

[FEATURE] Send prompt with selection to Claude Code #234

Description

@melodyogonna

Feature Description

Before sending a visual selection to Claude Code, allow prompts to be attached. The final piece sent to Claude should look like: @filename#L1-10 selection prompt, this should also be sent automatically.

Use Case

At the moment the flow for prompting about a piece of code is this:

  1. Make a selection
  2. Send selection to claude code
  3. Shift focus to Claude Code
  4. Write additional prompt about the selection
  5. Send.

The feature request would condense from 2-5 into one step.

Proposed Solution

Something similar is implemented in Opencode Nvim using the ask() function

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions