continue icon indicating copy to clipboard operation
continue copied to clipboard

Add Context - Commit History

Open titouandk opened this issue 1 year ago • 1 comments

Validations

  • [X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • [X] I'm not able to find an open issue that requests the same enhancement

Problem

It would be nice to be able to ask something based on previous commits.

do the same changes as @lastCommit, but for euros instead of dollars

And add the possibility to target a commit via a branch name / commit id / commit range.

Solution

No response

titouandk avatar Sep 26 '24 15:09 titouandk

This is a cool idea! While we may not immediately prioritize this, I think it is a great area for contribution. So if anyone comes across this, some further details on what I think would be a pretty straightforward PR:

  • See the CONTRIBUTING.md: https://github.com/continuedev/continue/blob/main/CONTRIBUTING.md#writing-context-providers
  • In order to give the possibility of selecting a target commit, I think a "submenu" type context provider would be best
  • And then it should be fairly straightforward to call git with subprocess

sestinj avatar Sep 29 '24 20:09 sestinj

@sestinj good to hear about this feature , that would be a lovely integration , would you like to assign me this issue

Anonymous-RD avatar Oct 26 '24 07:10 Anonymous-RD

@Anonymous-RD

Absolutely!

sestinj avatar Oct 27 '24 08:10 sestinj

Thankyou for assigning me this issue i got gist what to add but where should i ask for the previous commits to get some deeper knowledge , so that i can work in this issue smoothly

Anonymous-RD avatar Oct 28 '24 06:10 Anonymous-RD

This seems pretty stale, I'm gonna post a PR for this if thats alright.

HD787 avatar Dec 20 '24 22:12 HD787

This is great, thanks all!

RomneyDa avatar Jan 13 '25 22:01 RomneyDa