Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>OpenAI TranslateNew to Visual Studio Code? Get it now.

OpenAI Translate

Stark.me

|
466 installs
| (1) | Free
Translate your code using OpenAI API.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info



OpenAI Translate

Translate your code using OpenAI API.

version

Installation

  1. Install the extension.
  2. Configure desired 'translate to' language/s in user settings configuration - openaiTranslate.languages.

How to use

Select the text that your want to translate and execute Translate command.

Tip: Use the shortcut Ctrl+Alt+t to translate the selected text.

Select the code that your want to comment and execute Comment command.

Tip: Use the shortcut Ctrl+Alt+c to translate the selected text.

Select the code that your want to complete and execute Complete command.

Tip: Use the shortcut Ctrl+Alt+f to translate the selected text.

Features

  • Multi Languages:
    Translate your code to multi languages simply by adding the desired language code to openaiTranslate.languages string array configuration.(You can add any language supported by ChatGPT)
  • Replace Text:
    Replace selected text with translated text by configuring openaiTranslate.replaceText to 'true'.
  • Multi Cursor:
    Translate/Replace selected text in each selected cursor's text.
  • Multiline:
    When selected text is multiline, each line will be translate separately.

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft