File tree Expand file tree Collapse file tree 5 files changed +36
-0
lines changed
223/main/resources/META-INF
233/main/resources/META-INF
kotlin/cc/unitmesh/devti/indexer Expand file tree Collapse file tree 5 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 411
411
icon =" cc.unitmesh.devti.AutoDevIcons.AI_COPILOT" >
412
412
</action >
413
413
414
+ <action id =" cc.unitmesh.devti.DomainDictGenerate"
415
+ class =" cc.unitmesh.devti.indexer.DomainDictGenerateAction"
416
+ description =" Generate domains.csv"
417
+ icon =" cc.unitmesh.devti.AutoDevIcons.AI_COPILOT" >
418
+
419
+ <add-to-group group-id =" ProjectViewToolbar" anchor =" last" />
420
+ </action >
421
+
414
422
<group id =" autodev.statusBarPopup" >
415
423
<reference id =" cc.unitmesh.devti.QuickAssistant" />
416
424
<reference id =" cc.unitmesh.devti.EditSettings" />
Original file line number Diff line number Diff line change 414
414
icon =" cc.unitmesh.devti.AutoDevIcons.AI_COPILOT" >
415
415
</action >
416
416
417
+ <action id =" cc.unitmesh.devti.DomainDictGenerate"
418
+ class =" cc.unitmesh.devti.indexer.DomainDictGenerateAction"
419
+ description =" Generate domains.csv"
420
+ icon =" cc.unitmesh.devti.AutoDevIcons.AI_COPILOT" >
421
+
422
+ <add-to-group group-id =" ProjectViewToolbar" anchor =" last" />
423
+ </action >
424
+
417
425
<group id =" autodev.statusBarPopup" >
418
426
<reference id =" cc.unitmesh.devti.QuickAssistant" />
419
427
<reference id =" cc.unitmesh.devti.EditSettings" />
Original file line number Diff line number Diff line change
1
+ package cc.unitmesh.devti.indexer
2
+
3
+ import cc.unitmesh.devti.settings.locale.LanguageChangedCallback.presentationText
4
+ import com.intellij.openapi.actionSystem.AnAction
5
+ import com.intellij.openapi.actionSystem.AnActionEvent
6
+
7
+ class DomainDictGenerateAction : AnAction () {
8
+ init {
9
+ presentationText(" indexer.generate.domain" , templatePresentation)
10
+ }
11
+
12
+ override fun actionPerformed (event : AnActionEvent ) {
13
+ // / todo: add load source content file and call llm to gerneate to csv
14
+ TODO (" Not yet implemented" )
15
+ }
16
+ }
Original file line number Diff line number Diff line change @@ -226,3 +226,5 @@ chat.panel.add.files.tooltip=Add files to workspace
226
226
chat.panel.select.files.title =Select Files for Workspace
227
227
chat.panel.select.files.description =Choose files to add to your workspace
228
228
chat.panel.remove.file.tooltip =Remove file from workspace
229
+
230
+ indexer.generate.domain =Generate domain.csv
Original file line number Diff line number Diff line change @@ -218,3 +218,5 @@ chat.panel.select.files.title=选择工作区文件
218
218
chat.panel.select.files.description =选择要添加到工作区的文件
219
219
chat.panel.remove.file.tooltip =从工作区移除文件
220
220
chat.panel.add.openFiles =添加所有打开的文件
221
+
222
+ indexer.generate.domain =生成 domain.csv
You can’t perform that action at this time.
0 commit comments