This Visual Studio Code extension enhances your coding experience by providing language translation capabilities using a Large Language Model (LLM). It allows you to seamlessly translate text within the editor environment.
- Translation of Selected Text: Translate text directly from your code editor.
- Dynamic Language Selection: Easily switch between source and target languages.
- Output and Status Updates: Visual feedback through status bar updates and output channel.
You can install the Translator extension directly from the Visual Studio Code Marketplace.
- Install the extension.
- Configure your settings by navigating to File > Preferences > Settings and searching for Translator.
- Select Text: Highlight the text you want to translate.
- Command Palette: Open the command palette (Ctrl/Cmd + Shift + P) and search for Translate.
- Translate: Choose the appropriate translation command based on your settings.
Modify settings.json
to customize the extension behavior and settings:
{
"translator.sourceLanguage": "en",
"translator.targetLanguage": "fr"
}
Contributions are welcome! Please fork the repository, make your changes, and submit a pull request.
This extension is licensed under the MIT License. See the LICENSE file for more details.