Skip to content

Commit

Permalink
add plugin.xml for the UI plugin mode
Browse files Browse the repository at this point in the history
  • Loading branch information
diffitask committed Nov 7, 2023
1 parent 9ec45b4 commit 5974d26
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import org.jetbrains.research.ideFormerPlugin.queryTransmitter.UserQueryTransmit
import org.jetbrains.research.ideFormerPlugin.server.IdeServerService
import javax.swing.*

class IdeAssistantToolWindowFactory : ToolWindowFactory, DumbAware {
class IdeFormerToolWindowFactory : ToolWindowFactory, DumbAware {
private class IDEAssistantToolWindow(private val userProject: Project) {
val contentPanel = JPanel()
private val chatArea = JTextArea(10, 50).apply {
Expand Down
16 changes: 16 additions & 0 deletions ide-former-plugin/plugin/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->
<idea-plugin>
<id>org.jetbrains.research.com.ideAssistant</id>
<name>IDE-former</name>
<vendor>JetBrains Research</vendor>

<depends>com.intellij.java</depends>
<depends>org.jetbrains.kotlin</depends>
<depends>com.intellij.modules.platform</depends>
<depends>com.intellij.modules.python</depends>

<extensions defaultExtensionNs="com.intellij">
<toolWindow id="IDE-former chat window" anchor="right" factoryClass="org.jetbrains.research.ideFormerPlugin.IdeFormerToolWindowFactory"/>
</extensions>

</idea-plugin>

0 comments on commit 5974d26

Please sign in to comment.