IDEA 插件 ChatGPT - Easycode 安装和使用 - 配置
最编程
2024-07-15 15:15:49
...
1、获取免费API key,插件中需要用到api key。
地址:https://github.com/chatanywhere/GPT_API_free
安装好插件后在Settings > Tools > OpenAI > GPT 3.5 Turbo中如图所示配置好插件,重点要将Server Settings 修改为 https://api.chatanywhere.tech/v1/chat/completions 。并勾选Customize Server。
推荐阅读
-
如何在IDEA中安装和使用Maven Helper插件
-
图文详解:如何在IntelliJ IDEA中安装和使用插件?
-
安装和使用Idea插件的方法分享
-
Intellij IDEA 插件开发入门详解 - 如何添加 Application 和 Project Component,并创建 Action? 在本文中,我们将详细介绍如何在 IntelliJ IDEA 中添加 Application 和 Project Component,并且通过这些组件来创建一个简单的 Action。 首先,我们将在 src 目录上使用 Alt+Insert 快捷键打开 New 对话框,然后从中选择 Application Component 并输入名称如 MyComponent。接下来,我们在 MyComponent 类中添加一个 sayHello 方法并编写相关逻辑。 然后,我们需要为我们的插件添加一个 Action,使用户可以通过菜单或其它方式访问它。为此,我们将创建一个新的类 SayHelloAction 继承自 AnAction 类,并在 actionPerformed 方法中获取 Application 和 MyComponent 对象,最后调用 MyComponent 的 sayHello 方法。 最后,我们需要为我们的插件配置相关的文件以确保它可以正常运行。在本文中,我们将详细介绍如何进行这些配置。
-
如何在IDEA中安装和使用插件?
-
如何在IDEA中安装和使用Activiti BPMN视觉化插件?
-
如何在IDEA中安装和配置LeetCode插件并设置模板?
-
如何在Idea中安装和使用SonarLint插件?
-
IDEA Mac 插件 - Maven 辅助安装和使用
-
IDEA 插件 ChatGPT - Easycode 安装和使用 - 配置