Convert code to another language
With AI Assistant, you can convert your code from one programming language to another.
Enable converting code to another language by copy-and-paste
Press Ctrl+Alt+S to open settings and then select
.Enable the Suggest converting pasted code to the language of the target file option and click Apply.
Now you can copy the piece of code you want to convert and paste it into the file you work on.
AI Assistant detects the language of the pasted code and suggests to convert it to the language of the opened file.

If you click Convert, the code will be converted to the language of the target file. The code in the original language will also be pasted, but commented out.

08 August 2025