Skip to content

Commit

Permalink
feat(autodev): add Open Settings action to autodev-core.xml
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
phodal committed Jan 14, 2024
1 parent f7caff1 commit b192d30
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/222/main/resources/META-INF/autodev-core.xml
Expand Up @@ -299,8 +299,17 @@
<add-to-group group-id="NewGroup" anchor="last"/>
</group>


<action id="cc.unitmesh.devti.OpenSettings"
class="cc.unitmesh.devti.actions.AutoDevOpenSettingsAction"
text="Open Settings"
description="Open AutoDev Settings"
icon="cc.unitmesh.devti.AutoDevIcons.AI_COPILOT">
</action>

<group id="autodev.statusBarPopup">
<reference id="cc.unitmesh.devti.QuickAssistant"/>
<reference id="cc.unitmesh.devti.OpenSettings"/>
</group>
</actions>
</idea-plugin>
8 changes: 8 additions & 0 deletions src/233/main/resources/META-INF/autodev-core.xml
Expand Up @@ -305,8 +305,16 @@
<add-to-group group-id="NewGroup" anchor="last"/>
</group>

<action id="cc.unitmesh.devti.OpenSettings"
class="cc.unitmesh.devti.actions.AutoDevOpenSettingsAction"
text="Open Settings"
description="Open AutoDev Settings"
icon="cc.unitmesh.devti.AutoDevIcons.AI_COPILOT">
</action>

<group id="autodev.statusBarPopup">
<reference id="cc.unitmesh.devti.QuickAssistant"/>
<reference id="cc.unitmesh.devti.OpenSettings"/>
</group>
</actions>
</idea-plugin>

0 comments on commit b192d30

Please sign in to comment.