3 ms·
One thing I noticed is it seems to have an "Explain code" feature, giving you a textual explanation of a block of code you select, which I'm not aware of GitHub
by Liquid_Fire 4y ago
One thing I noticed is it seems to have an "Explain code" feature, giving you a textual explanation of a block of code you select, which I'm not aware of GitHub having.
- pynappo 4y agoGitHub Copilot Labs (a VSCode extension meant to be installed with GitHub Copilot) seems to have an explain code feature. ref: https://github.blog/2022-09-14-8-things-you-didnt-know-you-could-do-with-github-copilot/#8-navigating-a-new-codebase-with-copilot-labs https://github.blog/2022-09-14-8-things-you-didnt-know-you-c...
- WithinReason 4y agoYou can just use the prompt "The above code does the following explained in English" in a comment to prompt CoPilot to explain its code. You could probably also engineer a prompt to translate code between languages.
- lgas 4y agoHave you tried "This ruby code does the same thing as the following python code" in a comment?
- WithinReason 4y agoI actually did something similar and it worked IIRC. It was python to C or the reverse.
- ksaj 4y agoI wish I thought of that when I had the co-pilot trial. If that works, I might have had a different opinion of my experience with it.
- poulpy123 4y agoTBH the example wasn't convincing at all