JetBrains Rider 2024.3 Help

Use AI to convert files to another language

With AI Assistant, you can convert your code from one programming language to another.

Convert the whole file to another language

  1. Open a file you want to convert, place the caret anywhere in the editor, and right-click to open the context menu.

    Alternatively, press Alt+Enter.

  2. Select AI Actions and then Convert File to Another Language.

    Convert File to Another Language action in context menu
  3. In the list that opens, select the language you want to convert the current file to.

    Select target language

    After the conversion, the converted file is saved as a separate file with a new extension.

    Converted file with updated extension
Last modified: 18 July 2024