Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making implicit context explicit visually in copilot #716

Open
SamSaffron opened this issue Jan 16, 2025 · 1 comment
Open

Making implicit context explicit visually in copilot #716

SamSaffron opened this issue Jan 16, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@SamSaffron
Copy link

I wonder how we would feel about a feature that calls out "current context" more explicitly if set?

So for example if context is a selection it could say:

#selection:1:2:33

Then it would be very clear what is going on all the time and you could just edit out implicit contexts if you want to shift gears?

we could even auto fold in the context, so you could expand to see it.

I know gc finds it just kind of wish I could see it upfront

@jellydn jellydn added enhancement New feature or request good first issue Good for newcomers labels Jan 26, 2025
@deathbeam deathbeam removed the good first issue Good for newcomers label Jan 26, 2025
deathbeam added a commit to deathbeam/CopilotChat.nvim that referenced this issue Feb 5, 2025
@deathbeam
Copy link
Collaborator

I dont really want to make including selection or not part of the user input, not sure. Because selection is a bit more important, its used for diffs etc when not using /COPILOT_GENERATE. And for everything else I added #748 that could add some default sticky prompts as alternative to other implicit configs (like implicit context, implicit agent etc)

deathbeam added a commit to deathbeam/CopilotChat.nvim that referenced this issue Feb 5, 2025
deathbeam added a commit that referenced this issue Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants