Add /diff
to the assistant
#16821
Labels
ai
Improvement related to Assistant, Copilot, or other AI features
assistant
AI feedback for Assistant (inline or panel)
enhancement
[core label]
git
Git integration feedback
Check for existing issues
Describe the feature
A
/diff
command that would pass git diff (with a configurable number of lines around every diff included too, for example 2) to the assistant.And maybe a bunch of other git related commands? Something like
/git diff|merge|branch
. Tho diff seems to be the most useful one.If applicable, add mockups / screenshots to help present your vision of the feature
This is useful when making tons of small changes around a bunch of files. Passing the /diff to the assistant would let it know about all the changes, thus the assistant could be of help when fixing e.g. merge conflicts; besides, it could be useful to minimize the amount of info passed to the assistant: instead of passing all the tabs, you pass only the relevant changes.
There were some papers about the fact that too much irrelevant context might worsen performance
The text was updated successfully, but these errors were encountered: