This plugin provides a translation source for the "comment-translate" plugin. It does not activate itself and will only start working when enabled.
- Provide translation capabilities
- Provides online document link text
- Support for custom models and domains
- Support custom system prompts and user prompts
Please install 'comment-translate' to use
- After installation, call the "Change translation source" command (CMD/CTRL + Shift + P) of "Comment Translate"
- Check "ChatGPT translate" to configure the plugin API Key
- Directly use the "Comment Translate" interactive mode to translate the corresponding text
- Add the following settings in vscode's configuration.
"commentTranslate.source": "upupnoah.chatgpt-comment-translateX-chatgpt", "commentTranslate.targetLanguage": "zh-CN"
This extension contributes the following settings:
chatgptTranslate.authKey
: set toauthKey
to requestchatgptTranslate.apiAddress
: set as the requested addresschatgptTranslate.model
: customizing the model configuration
Based on chatgpt-comment-translate modification