#i mean there are 3 buttons refactor
1 messages · Page 1 of 1 (latest)
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.
that's not exactly what I meant. the text translation is just an example, but my request was that I want fully customizable buttons so I can create my own templates for the Codeium Chat request
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
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?
yep, you’re right. i want to have an option to make my own code lenses and (optionally) edit the default ones
sorry for late response, i was sleeping :D
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 🙂
code lenses are good, but anyway
what do you think about context menu actions? like if i want to refactor not whole function but just few lines