Skip to content

Commit edad94d

Browse files
committed
refactor(plugin): modularize extension points and actions
Move extension points and actions to autodev-core.xml and use xi:include in plugin.xml for better modular
1 parent 3f402da commit edad94d

File tree

7 files changed

+7
-439
lines changed

7 files changed

+7
-439
lines changed

mpp-idea/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ project(":") {
207207

208208
// Copy all resources from submodules to main plugin JAR
209209
// These are required for IntelliJ to load the plugin modules correctly
210+
from(project(":mpp-idea-core").file("src/main/resources"))
210211
from(project(":mpp-idea-lang:pycharm").file("src/main/resources"))
211212
from(project(":mpp-idea-lang:java").file("src/main/resources"))
212213
from(project(":mpp-idea-lang:kotlin").file("src/main/resources"))

mpp-idea/mpp-idea-core/src/main/resources/META-INF/autodev-core.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@
7979
implementation="cc.unitmesh.devti.gui.snippet.error.CodeBlockIntentionActionFilter"/>
8080

8181
<httpRequestHandler implementation="cc.unitmesh.devti.mcp.host.MCPService"/>
82-
<postStartupActivity implementation="cc.unitmesh.devti.update.AutoDevUpdateStartupActivity"/>
83-
<postStartupActivity implementation="cc.unitmesh.devti.mcp.MCPServerStartupValidator"/>
8482
<postStartupActivity implementation="cc.unitmesh.devti.llm2.GithubCopilotModelInitActivity"/>
8583
<jbProtocolCommand implementation="cc.unitmesh.devti.mcp.AutoDevJbProtocolService"/>
8684
<notificationGroup id="UnitMesh.MCPServer" displayType="BALLOON"/>
@@ -376,7 +374,6 @@
376374

377375
<agentObserver implementation="cc.unitmesh.devti.observer.TestAgentObserver"/>
378376
<agentObserver implementation="cc.unitmesh.devti.observer.BuiltTaskAgentObserver"/>
379-
<agentObserver implementation="cc.unitmesh.devti.observer.AddDependencyAgentObserver"/>
380377

381378
<!-- Library Version Providers -->
382379
<libraryVersionProvider implementation="cc.unitmesh.devti.provider.impl.NpmVersionProvider"/>

mpp-idea/mpp-idea-exts/devins-lang/src/main/resources/messages/DevInBundle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
intention.category.llm=AutoDev
12
devin.ref.loading=Loading git revision
23
devin.line.marker.run.0=Run {0}
34
devin.label.choose.file=Choice DevIn File

mpp-idea/mpp-idea-lang/kotlin/src/223/main/kotlin/cc/unitmesh/kotlin/provider/KotlinVersionProvider.kt

Lines changed: 0 additions & 37 deletions
This file was deleted.

mpp-idea/mpp-idea-lang/kotlin/src/252/main/kotlin/cc/unitmesh/kotlin/provider/KotlinVersionProvider.kt

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)