ProxyAI/src/main/resources/META-INF/plugin.xml
2023-02-27 09:41:46 +00:00

84 lines
4.5 KiB
XML

<idea-plugin>
<id>ee.carlrobert.chatgpt</id>
<name>OpenAI - ChatGPT</name>
<vendor email="carlrobertoh@gmail.com" url="https://carlrobert.ee">Carl-Robert Linnupuu</vendor>
<description><![CDATA[
<p><b>ChatGPT 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 />
<span>Available commands</span>
<ul>
<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><b>Before using the plugin, it is necessary to configure the API key in the Settings → Tools → ChatGPT</b></p>
]]></description>
<change-notes>
<![CDATA[
<ul>
<li><b>1.1.1</b> Remove startup notification</li>
<li><b>1.1.0</b> Add reverse proxy support, fix text selection and copy functionality</li>
<li><b>1.0.9</b> Add code syntax highlighting and copy functionality, remove plugin required for restart</li>
<li><b>1.0.8</b> Migrate to Java 17, fix ToolWindow NPE</li>
<li><b>1.0.7</b> Code refactoring, add readme</li>
<li><b>1.0.6</b> Display proper message for insufficient quota</li>
<li><b>1.0.5</b> Replace TextField with TextArea, remove Tahoma font, increase response max token size</li>
<li><b>1.0.4</b> Add support for 2023.* build</li>
<li><b>1.0.3</b> Server-Sent Events</li>
<li><b>1.0.2</b> Visual changes</li>
<li><b>1.0.1</b> Design updates and simple missing key notification</li>
<li><b>1.0.0</b> First release</li>
</ul>
]]>
</change-notes>
<depends>com.intellij.modules.platform</depends>
<applicationListeners>
<listener
class="ee.carlrobert.chatgpt.ide.toolwindow.ToolWindowService"
topic="com.intellij.ide.ui.LafManagerListener"/>
</applicationListeners>
<extensions defaultExtensionNs="com.intellij">
<applicationConfigurable parentId="tools" instance="ee.carlrobert.chatgpt.ide.settings.SettingsConfigurable"
id="org.intellij.sdk.settings.AppSettingsConfigurable"
displayName="ChatGPT"/>
<applicationService serviceImplementation="ee.carlrobert.chatgpt.ide.settings.SettingsState"/>
<applicationService serviceImplementation="ee.carlrobert.chatgpt.ide.toolwindow.ToolWindowService"/>
<toolWindow id="ChatGPT" icon="Icons.DefaultIcon" anchor="right"
factoryClass="ee.carlrobert.chatgpt.ide.toolwindow.ChatGptToolWindowFactory"/>
<notificationGroup id="ChatGPT-Empty-API-Key"
displayType="STICKY_BALLOON"
key="ee.carlrobert.chatgpt.ide.notification.key"/>
</extensions>
<resource-bundle>messages.BasicActionsBundle</resource-bundle>
<actions>
<group id="ee.carlrobert.chatgpt.ide.action.ActionGroup"
class="ee.carlrobert.chatgpt.ide.action.ActionGroup"
popup="true">
<add-to-group group-id="EditorPopupMenu" anchor="first"/>
<action id="ee.carlrobert.chatgpt.ide.action.WriteTestsAction" class="ee.carlrobert.chatgpt.ide.action.WriteTestsAction"/>
<action id="ee.carlrobert.chatgpt.ide.action.FindBugsAction" class="ee.carlrobert.chatgpt.ide.action.FindBugsAction"/>
<action id="ee.carlrobert.chatgpt.ide.action.RefactorAction" class="ee.carlrobert.chatgpt.ide.action.RefactorAction"/>
<action id="ee.carlrobert.chatgpt.ide.action.OptimizeAction" class="ee.carlrobert.chatgpt.ide.action.OptimizeAction"/>
<action id="ee.carlrobert.chatgpt.ide.action.ExplainAction" class="ee.carlrobert.chatgpt.ide.action.ExplainAction"/>
</group>
<action
id="ee.carlrobert.chatgpt.ide.action.AskAction"
class="ee.carlrobert.chatgpt.ide.action.AskAction"
text="Ask ChatGPT"
description="TBD"
icon="Icons.DefaultIcon">
<add-to-group group-id="EditorPopupMenu" anchor="first"/>
</action>
</actions>
</idea-plugin>