Explain Code with one shortcut and right click

Right now to explain code, there are 3 steps, putting it in chat, and then typing explain and enter. Explain code should be one step with one keyboard shortcut, or right clicking. That’s the one feature in Cody that I really wish was in Cursor.

Hi @romil8jain

Thanks for the suggestion, I’ve already added it as a feature request.

To make the usage more flexible, I have a suggestion. Users can customize some prompt words and use them through shortcuts. For example:

  • ctrl shift 1 means: Explain this code.
  • ctrl shift 2 means: Refactor this code into a simpler form.

or make it in a drop-down menu.

And so on.

I’m guessing this feature did not get a lot of support from other people haha