|
14 | 14 |
|
15 | 15 | <resource-bundle>messages.DomaToolsBundle</resource-bundle> |
16 | 16 | <resource-bundle>messages.LLMInstallerBundle</resource-bundle> |
| 17 | + <!-- Write it last to make it recognized as the default resource bundle --> |
| 18 | + <resource-bundle>messages.DomaToolsSettingBundle</resource-bundle> |
17 | 19 |
|
18 | 20 | <projectListeners> |
19 | 21 | <listener |
|
27 | 29 |
|
28 | 30 | <applicationService |
29 | 31 | serviceImplementation="org.domaframework.doma.intellij.setting.state.DomaToolsFormatEnableSettings"/> |
30 | | - <applicationConfigurable groupId="org.domaframework.doma" |
31 | | - instance="org.domaframework.doma.intellij.setting.DomaToolsConfigurable" |
32 | | - displayName="Doma Tools" /> |
| 32 | + <applicationConfigurable |
| 33 | + bundle="messages.DomaToolsSettingBundle" |
| 34 | + id="org.domaframework.doma.intellij.setting.DomaToolsConfigurable" |
| 35 | + groupId="org.domaframework.doma" |
| 36 | + key="doma.tools" |
| 37 | + instance="org.domaframework.doma.intellij.setting.DomaToolsConfigurable" /> |
33 | 38 |
|
34 | 39 | <!-- Reference --> |
35 | 40 | <psi.referenceContributor |
|
95 | 100 |
|
96 | 101 | <!-- Intention Actions --> |
97 | 102 | <intentionAction> |
98 | | - <language>JAVA</language> |
99 | | - <className>org.domaframework.doma.intellij.action.dao.ConvertSqlAnnotationToFileAction</className> |
100 | | - <category>Doma tools</category> |
101 | | - <skipBeforeAfter>true</skipBeforeAfter> |
| 103 | + <language>JAVA</language> |
| 104 | + <bundleName>messages.DomaToolsSettingBundle</bundleName> |
| 105 | + <className>org.domaframework.doma.intellij.action.dao.ConvertSqlAnnotationToFileAction</className> |
| 106 | + <categoryKey>doma.tools</categoryKey> |
| 107 | + <skipBeforeAfter>true</skipBeforeAfter> |
102 | 108 | </intentionAction> |
103 | 109 | <intentionAction> |
104 | | - <language>DomaSql</language> |
105 | | - <className>org.domaframework.doma.intellij.action.sql.ConvertSqlFileToAnnotationFromSqlAction</className> |
106 | | - <category>Doma tools</category> |
107 | | - <skipBeforeAfter>true</skipBeforeAfter> |
| 110 | + <language>DomaSql</language> |
| 111 | + <bundleName>messages.DomaToolsSettingBundle</bundleName> |
| 112 | + <className>org.domaframework.doma.intellij.action.sql.ConvertSqlFileToAnnotationFromSqlAction</className> |
| 113 | + <categoryKey>doma.tools</categoryKey> |
| 114 | + <skipBeforeAfter>true</skipBeforeAfter> |
| 115 | + </intentionAction> |
| 116 | + <intentionAction> |
| 117 | + <language>JAVA</language> |
| 118 | + <bundleName>messages.DomaToolsSettingBundle</bundleName> |
| 119 | + <className>org.domaframework.doma.intellij.action.dao.ConvertSqlFileToAnnotationFromDaoAction</className> |
| 120 | + <categoryKey>doma.tools</categoryKey> |
| 121 | + <skipBeforeAfter>true</skipBeforeAfter> |
| 122 | + </intentionAction> |
| 123 | + <intentionAction> |
| 124 | + <language>JAVA</language> |
| 125 | + <bundleName>messages.DomaToolsSettingBundle</bundleName> |
| 126 | + <className>org.domaframework.doma.intellij.action.dao.BulkConvertSqlAnnotationToFileAction</className> |
| 127 | + <categoryKey>doma.tools</categoryKey> |
| 128 | + <skipBeforeAfter>true</skipBeforeAfter> |
| 129 | + </intentionAction> |
| 130 | + <intentionAction> |
| 131 | + <language>JAVA</language> |
| 132 | + <bundleName>messages.DomaToolsSettingBundle</bundleName> |
| 133 | + <className>org.domaframework.doma.intellij.action.dao.BulkConvertSqlFileToAnnotationAction</className> |
| 134 | + <categoryKey>doma.tools</categoryKey> |
| 135 | + <skipBeforeAfter>true</skipBeforeAfter> |
108 | 136 | </intentionAction> |
109 | | - <intentionAction> |
110 | | - <language>JAVA</language> |
111 | | - <className>org.domaframework.doma.intellij.action.dao.ConvertSqlFileToAnnotationFromDaoAction</className> |
112 | | - <category>Doma tools</category> |
113 | | - <skipBeforeAfter>true</skipBeforeAfter> |
114 | | - </intentionAction> |
115 | | - <intentionAction> |
116 | | - <language>JAVA</language> |
117 | | - <className>org.domaframework.doma.intellij.action.dao.BulkConvertSqlAnnotationToFileAction</className> |
118 | | - <category>Doma tools</category> |
119 | | - <skipBeforeAfter>true</skipBeforeAfter> |
120 | | - </intentionAction> |
121 | | - <intentionAction> |
122 | | - <language>JAVA</language> |
123 | | - <className>org.domaframework.doma.intellij.action.dao.BulkConvertSqlFileToAnnotationAction</className> |
124 | | - <category>Doma tools</category> |
125 | | - <skipBeforeAfter>true</skipBeforeAfter> |
126 | | - </intentionAction> |
127 | 137 | </extensions> |
128 | 138 |
|
129 | 139 | <extensions defaultExtensionNs="org.intellij.intelliLang"> |
|
135 | 145 | </extensions> |
136 | 146 |
|
137 | 147 | <!-- Action --> |
138 | | - <actions> |
| 148 | + <actions resource-bundle="messages.DomaToolsSettingBundle"> |
139 | 149 | <group |
140 | 150 | id="org.domaframework.doma.intellij.DomaToolGroupActions" |
141 | | - text="Doma Tools" |
142 | 151 | popup="true" |
143 | 152 | icon="AllIcons.Nodes.AbstractClass"> |
144 | 153 | <add-to-group |
145 | 154 | group-id="EditorPopupMenu" |
146 | | - anchor="last" |
147 | | - /> |
| 155 | + anchor="last"/> |
148 | 156 | <action |
149 | 157 | id="org.domaframework.doma.intellij.action.JumpToSQLFromDao" |
150 | | - class="org.domaframework.doma.intellij.action.dao.JumpToSQLFromDaoAction" |
151 | | - text="Jump to SQL" |
152 | | - description="Jump from DAO file to SQL file"> |
| 158 | + class="org.domaframework.doma.intellij.action.dao.JumpToSQLFromDaoAction"> |
153 | 159 | <keyboard-shortcut keymap="$default" first-keystroke="alt D"/> |
154 | 160 | </action> |
155 | 161 | <action id="org.domaframework.doma.intellij.JumpToDaoFromSQL" |
156 | | - class="org.domaframework.doma.intellij.action.sql.JumpToDaoFromSQLAction" |
157 | | - text="Jump to DAO" |
158 | | - description="Jump from SQL file to DAO method definition"> |
| 162 | + class="org.domaframework.doma.intellij.action.sql.JumpToDaoFromSQLAction"> |
159 | 163 | <keyboard-shortcut keymap="$default" first-keystroke="alt D"/> |
160 | 164 | </action> |
161 | 165 | <action id="org.domaframework.doma.intellij.GenerateSqlAction" |
162 | | - class="org.domaframework.doma.intellij.action.dao.GenerateSqlAction" |
163 | | - text="Generate SQL" |
164 | | - description="Generate SQL file from DAO method"> |
| 166 | + class="org.domaframework.doma.intellij.action.dao.GenerateSqlAction"> |
165 | 167 | <keyboard-shortcut keymap="$default" first-keystroke="control alt G"/> |
166 | 168 | </action> |
167 | 169 | </group> |
|
0 commit comments