ChatGPT Tool
This Jetbrains IDEs plugin integrates ChatGPT and other third-party mirror websites of ChatGPT into JetBrains IDEs, providing a seamless experience for developers to interact with the ChatGPT AI model directly within their development environment.
💡 NoticeCannot log in to the official ChatGPT by Google account or Microsoft account is not caused by this plugin, but by the official ChatGPT itself.
See #7 and JetBrains/jcef#14 for more information.
💡 Click to expand the Solution for this
- Go to https://chat.openai.com/chat and log in or sign up.
- Open dev tools.
- Open
Application
>Cookies
.- Copy the value for
__Secure-next-auth.session-token
as settings value.- After you enter the session token, you need to restart the IDE because ChatGPT Tool Windows needs a restart, and you won't need to log in until the session token is expired.
Feature
🚀 Easy to use, and interact with ChatGPT without leaving the IDE.- 🆓 Integrates free third-party mirror websites and easily update.
- ✅ Add and manage multiple ChatGPT URLs.
- 🔄 Easily switch between different ChatGPT URLs.
How it works
This plugin uses JCEF(Java Chromium Embedded Framework) to render the content. It is a lightweight and cross-platform web browser engine that is built on top of Chromium and is used by IntelliJ IDEA to render the HTML content of the IDE. JCEF is supported in IntelliJ IDEA 2020.2 and later. See JCEF for more information.
Installation
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "ChatGPT Tool" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins >
⚙️ > Install plugin from disk...
Usage
-
Open the "ChatGPT Tool" tool window, which will load the default ChatGPT URL.
-
If you have set the official ChatGPT as the default, you can register for an OpenAI account and log in.
-
Access the settings to modify the default ChatGPT URL or add additional URLs
Explanation:
- Quickly open the settings.
- Refresh the currently opened page.
- Add a new URL to the tool window.
- Open the author's GitHub page in browser.
- Open other plugins from the author in browser.
- Select the default URL. The default URL will be opened when you first launch the tool window and when all opened pages are closed.
- URL list: add, edit, and delete URLs.
- Add a new URL.
- Delete the selected URL.
- Fetch the URL list from the author's other GitHub repository.