ProxyAI/src/main/resources/META-INF/plugin.xml

150 lines
5.5 KiB
XML

<idea-plugin>
<id>ee.carlrobert.chatgpt</id>
<name>CodeGPT</name>
<vendor email="carlrobertoh@gmail.com" url="https://carlrobert.ee">Carl-Robert Linnupuu</vendor>
<description><![CDATA[
<p>
<b>CodeGPT as your copilot to level up your developer experience.</b>
</p>
<p>
This is the perfect assistant for any programmer who wants to improve their coding skills
and make more efficient use of the time.
</p>
<br />
<p>
<b>
🔥🔥🔥 The official chat completions API has been released, and it is now the default option for
this plugin! 🔥🔥🔥
</b>
</p>
<br />
<p>Available commands</p>
<ul>
<li>
<b>Custom Prompt:</b> Prefix the selected code with a custom prompt. Right-click on a
selected block of code, run command.
</li>
<li>
<b>Find Bugs:</b> Analyze and find bugs in your code. Right-click on a selected block of
code, run command.
</li>
<li>
<b>Add Tests:</b> Write tests for you. Right-click on a selected block of code, run
command.
</li>
<li>
<b>Refactor:</b> Refactor your code. Right-click on a selected block of code, run command.
</li>
<li>
<b>Optimize:</b> Add suggestions to your code to improve. Right-click on a selected block
of code, run command.
</li>
<li>
<b>Explain:</b> Explain the selected code. Right-click on a selected block of code, run
command.
</li>
</ul>
<br />
<p>Available APIs:</p>
<ul>
<li>
<b>OpenAI's official API</b>
<ul>
<li>
<b>Chat completion</b>
<ul>
<li>
<b>ChatGPT</b> - Most recent and capable model (Default)
</li>
<li>
<b>ChatGPT Snapshot</b> - Snapshot version from March 1st 2023
</li>
</ul>
</li>
<li>
<b>Text completion</b>
<ul>
<li>
<b>Davinci</b> - Most powerful (Default)
</li>
<li>
<b>Curie</b> - Fast and efficient
</li>
<li>
<b>Babbage</b> - Powerful
</li>
<li>
<b>Ada</b> - Fastest
</li>
</ul>
</li>
</ul>
</li>
<li>
<b>ChatGPT's unofficial API (free)</b>
</li>
</ul>
<br />
<p>
Before using the plugin, it is necessary to configure the API key in the <b>Settings → Tools → CodeGPT</b>
</p>
]]></description>
<change-notes>
<![CDATA[
<ul>
<li>Disable support for unofficial reverse proxy</li>
<li>New Chat toolbar</li>
<ul>
<li>Start new conversations</li>
<li>Open the conversation in the editor</li>
<li>Display credit usage</li>
</ul>
<li>
<li>New Conversation History toolbar</li>
<ul>
<li>Delete all conversations</li>
<li>Delete single conversation</li>
</ul>
<li>Add GPT-4 model</li>
</ul>
]]>
</change-notes>
<depends>com.intellij.modules.platform</depends>
<projectListeners>
<listener
class="ee.carlrobert.codegpt.ide.toolwindow.ToolWindowService"
topic="com.intellij.ide.ui.LafManagerListener"/>
</projectListeners>
<extensions defaultExtensionNs="com.intellij">
<postStartupActivity implementation="ee.carlrobert.codegpt.ide.PluginStartupActivity" />
<applicationConfigurable id="settings.codegpt" parentId="tools" displayName="CodeGPT"
instance="ee.carlrobert.codegpt.ide.settings.SettingsConfigurable"/>
<applicationConfigurable id="settings.codegpt.configuration" parentId="settings.codegpt" displayName="Configuration"
instance="ee.carlrobert.codegpt.ide.settings.configuration.ConfigurationConfigurable"/>
<applicationConfigurable id="settings.codegpt.advanced" parentId="settings.codegpt" displayName="Advanced Settings"
instance="ee.carlrobert.codegpt.ide.settings.advanced.AdvancedSettingsConfigurable"/>
<applicationService serviceImplementation="ee.carlrobert.codegpt.ide.settings.SettingsState"/>
<applicationService serviceImplementation="ee.carlrobert.codegpt.ide.settings.configuration.ConfigurationState"/>
<applicationService serviceImplementation="ee.carlrobert.codegpt.ide.settings.advanced.AdvancedSettingsState"/>
<applicationService serviceImplementation="ee.carlrobert.codegpt.ide.conversations.ConversationsState"/>
<projectService serviceImplementation="ee.carlrobert.codegpt.ide.toolwindow.ToolWindowService"/>
<projectService serviceImplementation="ee.carlrobert.codegpt.ide.toolwindow.ContentManagerService"/>
<toolWindow id="CodeGPT" icon="Icons.ToolWindowIcon" anchor="right"
factoryClass="ee.carlrobert.codegpt.ide.toolwindow.ProjectToolWindowFactory"/>
</extensions>
<resource-bundle>messages.BasicActionsBundle</resource-bundle>
<actions>
<group id="CodeGPTEditorPopup">
<group id="ActionGroup" class="com.intellij.openapi.actionSystem.DefaultActionGroup" popup="true" icon="Icons.DefaultIcon">
</group>
<add-to-group group-id="EditorPopupMenu1" anchor="first"/>
<separator/>
</group>
</actions>
</idea-plugin>