Porter - Convert Code from one Language to Another
Hi! This extension utilizes the Gemini API by Google to port code snippets from one language to another. You can use it to convert a given file into some other language or even a small portion of the file to the target language.
First of all you will require an API key for the Gemini Pro Model. You can easily get one from MakerSuite.
And Done! You will be able to see your code snippet in a temporary window that opens in a side panel inside your editor.