Skip to content

Prompt mode -p: Add an option to open copilot with prompt but in interactive mode #676

@H2xDev

Description

@H2xDev

Describe the feature or problem you'd like to solve

I prepared a configuration for Neovim that opens copilot in a separate window in terminal mode. I wanted to add a currently opened file in Neovim in the prompt parameter. With this i could just open copilot and it would know already for which file i'm going to write prompt.

Proposed solution

For example add -i parameter to force interactive mode in case -p specified

Example prompts or workflows

copilot -p @src/somefile.cpp -i

Additional context

Currently i'm not able to make copilot open in interactive mode to continue chat:

copilot-issue.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions