Skip to content

Commit b192d30

Browse files
committed
feat(autodev): add Open Settings action to autodev-core.xml
Add a new action called "Open Settings" to the autodev-core.xml file. This action allows users to open the AutoDev settings. The action has a text, description, and icon associated with it. The action is added to the autodev.statusBarPopup group, along with the existing QuickAssistant action. This change is made in both the src/233/main/resources/META-INF/autodev-core.xml and src/222/main/resources/META-INF/autodev-core.xml files.
1 parent f7caff1 commit b192d30

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

src/222/main/resources/META-INF/autodev-core.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,17 @@
299299
<add-to-group group-id="NewGroup" anchor="last"/>
300300
</group>
301301

302+
303+
<action id="cc.unitmesh.devti.OpenSettings"
304+
class="cc.unitmesh.devti.actions.AutoDevOpenSettingsAction"
305+
text="Open Settings"
306+
description="Open AutoDev Settings"
307+
icon="cc.unitmesh.devti.AutoDevIcons.AI_COPILOT">
308+
</action>
309+
302310
<group id="autodev.statusBarPopup">
303311
<reference id="cc.unitmesh.devti.QuickAssistant"/>
312+
<reference id="cc.unitmesh.devti.OpenSettings"/>
304313
</group>
305314
</actions>
306315
</idea-plugin>

src/233/main/resources/META-INF/autodev-core.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,16 @@
305305
<add-to-group group-id="NewGroup" anchor="last"/>
306306
</group>
307307

308+
<action id="cc.unitmesh.devti.OpenSettings"
309+
class="cc.unitmesh.devti.actions.AutoDevOpenSettingsAction"
310+
text="Open Settings"
311+
description="Open AutoDev Settings"
312+
icon="cc.unitmesh.devti.AutoDevIcons.AI_COPILOT">
313+
</action>
314+
308315
<group id="autodev.statusBarPopup">
309316
<reference id="cc.unitmesh.devti.QuickAssistant"/>
317+
<reference id="cc.unitmesh.devti.OpenSettings"/>
310318
</group>
311319
</actions>
312320
</idea-plugin>

0 commit comments

Comments
 (0)