#i mean there are 3 buttons refactor

1 messages · Page 1 of 1 (latest)

vestal drum
#

It is not entirely clear what kind of template we are talking about. Make the text of the code lens buttons translatable? It looks like it is not necessary.
If the conversation is about what the chat would be, by clicking on these buttons, I answered in the language set in vscode. Then yes, I agree. That would be great. As a nice bonus.

terse wing
#

I'll try to explain.
there is a Refactor button. when you click on it, a block of code is sent to Chat and the template adds "Refactor this code". and I want there to be another button, for example, Comment. it will send the code to Chat and add "Add explaining comments to each row in this code". this is what I mean by template. it looks something like this:

template:
code

#

I hope you can see what I mean now

quaint whale
#

Got it, thanks for the explanation @terse wing . We've had a few points of feedback on Add explaining comments to each row in this code so we may make this a default code lens at this point.

#

I do see what you mean though on the customization since we can't have a one-size-fits-all for the default code lenses. If I understand correctly, you are almost looking for templates that you set up yourself for prompts/questions you often have specific to your workflow?

terse wing
#

sorry for late response, i was sleeping :D

quaint whale
#

All good! Let me add this to our future roadmap. Will need to think intentionally about the best way to do this sort of thing

#

If you have any other ideas would love to hear them in the meantime 🙂

terse wing