Prerequisites
- IntelliJ IDEA or another JetBrains IDE
-
Translation Plugin installed — search for Translation in the JetBrains Marketplace

- A CometAPI account with an active API key
Setup
Get your CometAPI API key
Configure the translation engine
Click the Translation Plugin icon in the IDE toolbar → Settings → Translation. Select OpenAI Translation as the engine. In the settings panel on the right, enter 

https://api.cometapi.com in the API Endpoint field (the second field defaults to /v1/chat/completions). Paste your CometAPI key into API Key and click Confirm.





