continue icon indicating copy to clipboard operation
continue copied to clipboard

Why not include the commit gen slash command by default, instead of it being just an example?

Open kabachuha opened this issue 1 year ago • 2 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

I believe this feature is much handy (esp. when copilot added a similar auto-commit name gen recently), however I found it only in the documentation and it still requires manually editing the config to introduce it.

https://github.com/continuedev/continue/blob/5d21bdf2930b30723f1fd80b05d8c1c2ad589bb2/docs/docs/customization/slash-commands.md?plain=1#L50-L80

Solution

Add this command by default and come up with some other custom code example

kabachuha avatar Nov 10 '23 08:11 kabachuha

@kabachuha The main reason is to avoid overloading the dropdown, but I think you're right that this is one of the more useful slash commands. I'd consider replacing the /test slash command with either this or /review

But to better solve this I'm actually thinking of making UI so it's way easier to add one of our pre-existing slash commands. Just toggle a checkbox, or scroll through a list of them and select.

sestinj avatar Nov 10 '23 17:11 sestinj

Besides, it would be much better if that command could work when the Continue server is on remote. (currently it only uses git diff where the server is launched)

kabachuha avatar Nov 13 '23 12:11 kabachuha