File tree Expand file tree Collapse file tree 7 files changed +22
-22
lines changed
kotlin/cc/unitmesh/idea/actions
222/main/resources/META-INF
233/main/resources/META-INF
main/kotlin/cc/unitmesh/devti/actions/chat Expand file tree Collapse file tree 7 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 5
5
ideaVersion =IU-2022.2.4
6
6
7
7
# please see https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html for description
8
- pluginSinceBuild = 222 .*
8
+ pluginSinceBuild = 221 .*
9
9
pluginUntilBuild = 232.*
10
10
11
11
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
Original file line number Diff line number Diff line change 1
- package cc.unitmesh.devti .actions.chat
1
+ package cc.unitmesh.idea .actions
2
2
3
3
import cc.unitmesh.devti.actions.chat.base.ChatBaseAction
4
4
import cc.unitmesh.devti.gui.chat.ChatActionType
Original file line number Diff line number Diff line change 25
25
implementationClass =" cc.unitmesh.idea.provider.JavaLivingDocumentation" />
26
26
27
27
<testDataBuilder language =" JAVA"
28
- implementationClass =" cc.unitmesh.idea.provider.JavaTestDataBuilder" />
28
+ implementationClass =" cc.unitmesh.idea.provider.JavaTestDataBuilder" />
29
29
30
30
<chatContextProvider implementation =" cc.unitmesh.idea.provider.JavaVersionProvider" />
31
31
<chatContextProvider implementation =" cc.unitmesh.idea.provider.SpringContextProvider" />
46
46
implementation =" cc.unitmesh.idea.service.JavaWriteTestService" />
47
47
48
48
<buildSystemProvider
49
- implementation =" cc.unitmesh.idea.provider.JavaBuildSystemProvider" />
49
+ implementation =" cc.unitmesh.idea.provider.JavaBuildSystemProvider" />
50
50
51
51
<customPromptProvider
52
52
language =" JAVA"
53
- implementationClass =" cc.unitmesh.idea.provider.JavaCustomPromptProvider" />
53
+ implementationClass =" cc.unitmesh.idea.provider.JavaCustomPromptProvider" />
54
54
55
55
<layeredArchProvider
56
- implementation =" cc.unitmesh.idea.provider.JavaLayeredArchProvider" />
56
+ implementation =" cc.unitmesh.idea.provider.JavaLayeredArchProvider" />
57
57
58
58
<autoDevIntention >
59
59
<className >cc.unitmesh.idea.actions.AutoCrudAction</className >
60
60
<bundleName >messages.AutoDevBundle</bundleName >
61
61
<categoryKey >intention.category.llm</categoryKey >
62
62
</autoDevIntention >
63
+
64
+ <actions >
65
+ <group id =" org.intellij.sdk.action.GroupedActions" popup =" true" text =" AutoDev Chat"
66
+ description =" AutoDev chat" >
67
+ <action id =" cc.unitmesh.idea.actions.GenTestDataAction"
68
+ class =" cc.unitmesh.idea.actions.GenTestDataAction" text =" Generate Test Data (APIs)"
69
+ description =" Ask AI write this code" >
70
+ </action >
71
+ </group >
72
+ </actions >
63
73
</extensions >
64
74
65
75
<extensions defaultExtensionNs =" com.intellij" >
Original file line number Diff line number Diff line change 215
215
description =" Ask AI write this code" >
216
216
</action >
217
217
218
- <action id =" cc.unitmesh.devti.actions.chat.GenTestDataAction"
219
- class =" cc.unitmesh.devti.actions.chat.GenTestDataAction" text =" Generate Test Data (APIs)"
220
- description =" Ask AI write this code" >
221
- </action >
222
-
223
218
<add-to-group group-id =" EditorPopupMenu" anchor =" first" />
224
219
</group >
225
220
Original file line number Diff line number Diff line change 196
196
197
197
<!-- For right click -->
198
198
<group id =" org.intellij.sdk.action.GroupedActions" popup =" true" text =" AutoDev Chat" description =" AutoDev chat" >
199
- <action id =" cc.unitmesh.devti.actions.chat.ExplainThisChatAction "
200
- class =" cc.unitmesh.devti.actions.chat.ExplainThisChatAction " text =" Explain This"
199
+ <action id =" cc.unitmesh.devti.actions.chat.ExplainThisAction "
200
+ class =" cc.unitmesh.devti.actions.chat.ExplainThisAction " text =" Explain This"
201
201
description =" Ask AI about this code" >
202
202
</action >
203
203
204
- <action id =" cc.unitmesh.devti.actions.chat.RefactorThisChatAction "
205
- class =" cc.unitmesh.devti.actions.chat.RefactorThisChatAction " text =" Refactor This"
204
+ <action id =" cc.unitmesh.devti.actions.chat.RefactorThisAction "
205
+ class =" cc.unitmesh.devti.actions.chat.RefactorThisAction " text =" Refactor This"
206
206
description =" Ask AI refactor this code" >
207
207
</action >
208
208
216
216
description =" Ask AI write this code" >
217
217
</action >
218
218
219
- <action id =" cc.unitmesh.devti.actions.chat.GenTestDataAction"
220
- class =" cc.unitmesh.devti.actions.chat.GenTestDataAction" text =" Generate Test Data (APIs)"
221
- description =" Ask AI write this code" >
222
- </action >
223
-
224
219
<add-to-group group-id =" EditorPopupMenu" anchor =" first" />
225
220
</group >
226
221
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ package cc.unitmesh.devti.actions.chat
3
3
import cc.unitmesh.devti.actions.chat.base.ChatBaseAction
4
4
import cc.unitmesh.devti.gui.chat.ChatActionType
5
5
6
- class ExplainThisChatAction : ChatBaseAction () {
6
+ class ExplainThisAction : ChatBaseAction () {
7
7
override fun getActionType (): ChatActionType = ChatActionType .EXPLAIN
8
8
}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import com.intellij.openapi.actionSystem.AnActionEvent
6
6
import com.intellij.openapi.actionSystem.CommonDataKeys
7
7
import com.intellij.openapi.command.WriteCommandAction
8
8
9
- class RefactorThisChatAction : ChatBaseAction () {
9
+ class RefactorThisAction : ChatBaseAction () {
10
10
11
11
override fun getActionType (): ChatActionType = ChatActionType .REFACTOR
12
12
You can’t perform that action at this time.
0 commit comments