|
22 | 22 | </application-components>
|
23 | 23 |
|
24 | 24 | <extensions defaultExtensionNs="com.intellij">
|
25 |
| - <postStartupActivity implementation = "com.shuzijun.leetcode.plugin.listener.RegisterPluginInstallerStateListener"/> |
| 25 | + <postStartupActivity |
| 26 | + implementation="com.shuzijun.leetcode.plugin.listener.RegisterPluginInstallerStateListener"/> |
26 | 27 | <errorHandler implementation="com.shuzijun.leetcode.plugin.listener.ErrorReportHandler"/>
|
27 | 28 | <toolWindow id="Leetcode" secondary="false" icon="LeetCodeEditorIcons.LEETCODE_TOOL_WINDOW" anchor="left"
|
28 |
| - factoryClass="com.shuzijun.leetcode.plugin.window.WindowFactory" /> |
29 |
| - <toolWindow id="Leetcode Console" secondary="false" icon="LeetCodeEditorIcons.LEETCODE_TOOL_WINDOW" anchor="bottom" |
30 |
| - factoryClass="com.shuzijun.leetcode.plugin.window.ConsoleWindowFactory" /> |
| 29 | + factoryClass="com.shuzijun.leetcode.plugin.window.WindowFactory"/> |
| 30 | + <toolWindow id="Leetcode Console" secondary="false" icon="LeetCodeEditorIcons.LEETCODE_TOOL_WINDOW" |
| 31 | + anchor="bottom" |
| 32 | + factoryClass="com.shuzijun.leetcode.plugin.window.ConsoleWindowFactory"/> |
31 | 33 | <applicationService serviceInterface="com.shuzijun.leetcode.plugin.setting.PersistentConfig"
|
32 | 34 | serviceImplementation="com.shuzijun.leetcode.plugin.setting.PersistentConfig"/>
|
33 | 35 | <projectService serviceInterface="com.shuzijun.leetcode.plugin.setting.ProjectConfig"
|
|
36 | 38 | serviceImplementation="com.shuzijun.leetcode.plugin.setting.StatisticsData"/>
|
37 | 39 | <applicationConfigurable groupId="tools" displayName="LeetCode Plugin" id="leetcode.id"
|
38 | 40 | instance="com.shuzijun.leetcode.plugin.setting.SettingConfigurable"/>
|
39 |
| - <statusBarWidgetFactory id="leetcode-editor-TimerStatusBar" implementation="com.shuzijun.leetcode.plugin.timer.TimerStatusBarWidgetProvider"/> |
40 |
| - <lang.foldingBuilder language="JAVA" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/> |
41 |
| - <lang.foldingBuilder language="Python" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/> |
42 |
| - <lang.foldingBuilder language="ObjectiveC" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/> |
43 |
| - <lang.foldingBuilder language="CS" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/> |
| 41 | + <statusBarWidgetFactory id="leetcode-editor-TimerStatusBar" |
| 42 | + implementation="com.shuzijun.leetcode.plugin.timer.TimerStatusBarWidgetProvider"/> |
| 43 | + <!-- <lang.foldingBuilder language="JAVA" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/>--> |
| 44 | + <!-- <lang.foldingBuilder language="Python" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/>--> |
| 45 | + <!-- <lang.foldingBuilder language="ObjectiveC" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/>--> |
| 46 | + <!-- <lang.foldingBuilder language="CS" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/>--> |
44 | 47 | <!--<lang.foldingBuilder language="ECMAScript 6" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/>-->
|
45 |
| - <lang.foldingBuilder language="ruby" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/> |
46 |
| - <lang.foldingBuilder language="Swift" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/> |
47 |
| - <lang.foldingBuilder language="go" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/> |
48 |
| - <lang.foldingBuilder language="Scala" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/> |
49 |
| - <lang.foldingBuilder language="kotlin" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/> |
50 |
| - <lang.foldingBuilder language="Renderscript" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/> |
51 |
| - <lang.foldingBuilder language="PHP" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/> |
52 |
| - <lang.foldingBuilder language="Shell Script" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/> |
53 |
| - <lang.foldingBuilder language="GenericSQL" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/> |
54 |
| - <lang.foldingBuilder language="TypeScript" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/> |
| 48 | + <!-- <lang.foldingBuilder language="ruby" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/>--> |
| 49 | + <!-- <lang.foldingBuilder language="Swift" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/>--> |
| 50 | + <!-- <lang.foldingBuilder language="go" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/>--> |
| 51 | + <!-- <lang.foldingBuilder language="Scala" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/>--> |
| 52 | + <!-- <lang.foldingBuilder language="kotlin" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/>--> |
| 53 | + <!-- <lang.foldingBuilder language="Renderscript" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/>--> |
| 54 | + <!-- <lang.foldingBuilder language="PHP" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/>--> |
| 55 | + <!-- <lang.foldingBuilder language="Shell Script" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/>--> |
| 56 | + <!-- <lang.foldingBuilder language="GenericSQL" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/>--> |
| 57 | + <!-- <lang.foldingBuilder language="TypeScript" implementationClass="com.shuzijun.leetcode.plugin.language.ScopeFoldingBuilder"/>--> |
55 | 58 |
|
56 | 59 | <fileEditorProvider implementation="com.shuzijun.leetcode.plugin.editor.QuestionEditorProvider"/>
|
57 | 60 | <fileIconPatcher implementation="com.shuzijun.leetcode.plugin.editor.QuestionEditorIconProvider" order="last"/>
|
58 |
| - <editorTabTitleProvider implementation="com.shuzijun.leetcode.plugin.editor.QuestionEditorTabTitleProvider" order="last"/> |
| 61 | + <editorTabTitleProvider implementation="com.shuzijun.leetcode.plugin.editor.QuestionEditorTabTitleProvider" |
| 62 | + order="last"/> |
59 | 63 |
|
60 | 64 | <fileType name="lcvDoc" extensions="lcv;" fileNames=".lcv" language="lcvDoc"
|
61 | 65 | implementationClass="com.shuzijun.leetcode.plugin.editor.LCVFileType" fieldName="INSTANCE"/>
|
|
200 | 204 | <group id="leetcode.find.Category" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup"
|
201 | 205 | popup="true" text="Category" description="Category">
|
202 | 206 | </group>
|
203 |
| - <group id="leetcode.find.Lists" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" popup="true" |
| 207 | + <group id="leetcode.find.Lists" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" |
| 208 | + popup="true" |
204 | 209 | text="Lists" description="Lists">
|
205 | 210 | </group>
|
206 | 211 | <group id="leetcode.find.Difficulty" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup"
|
207 | 212 | popup="true" text="Difficulty" description="Difficulty">
|
208 | 213 | </group>
|
209 |
| - <group id="leetcode.find.Status" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" popup="true" |
| 214 | + <group id="leetcode.find.Status" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" |
| 215 | + popup="true" |
210 | 216 | text="Status" description="Status">
|
211 | 217 | </group>
|
212 |
| - <group id="leetcode.find.Tags" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" popup="true" |
| 218 | + <group id="leetcode.find.Tags" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" |
| 219 | + popup="true" |
213 | 220 | text="Tags" description="Tags">
|
214 | 221 | </group>
|
215 | 222 | <separator/>
|
|
239 | 246 | class="com.shuzijun.leetcode.plugin.actions.editor.OpenContentAction"
|
240 | 247 | text="open content" description="open content(editor)" icon="LeetCodeEditorIcons.DESC">
|
241 | 248 | </action>
|
242 |
| - <action id="leetcode.editor.OpenSolutionAction" class="com.shuzijun.leetcode.plugin.actions.editor.OpenSolutionAction" |
| 249 | + <action id="leetcode.editor.OpenSolutionAction" |
| 250 | + class="com.shuzijun.leetcode.plugin.actions.editor.OpenSolutionAction" |
243 | 251 | text="open solution" description="open solution" icon="LeetCodeEditorIcons.SOLUTION">
|
244 | 252 | </action>
|
245 | 253 | <action id="leetcode.editor.OpenInWebAction"
|
|
248 | 256 | </action>
|
249 | 257 | <separator/>
|
250 | 258 | <reference id="leetcode.positionAction"/>
|
251 |
| - <group id="leetcode.editor.note" popup="true" text="note" description="note" icon="LeetCodeEditorIcons.NOTE"> |
| 259 | + <group id="leetcode.editor.note" popup="true" text="note" description="note" |
| 260 | + icon="LeetCodeEditorIcons.NOTE"> |
252 | 261 | <action id="leetcode.editor.ShowNote"
|
253 | 262 | class="com.shuzijun.leetcode.plugin.actions.editor.ShowNoteAction"
|
254 | 263 | text="ShowNote" description="Show Note" icon="LeetCodeEditorIcons.SHOW">
|
|
260 | 269 | text="PushNote" description="Push Note" icon="LeetCodeEditorIcons.PUSH">
|
261 | 270 | </action>
|
262 | 271 | </group>
|
263 |
| - <group id="leetcode.editor.timer" popup="true" text="Timer" description="timer(editor)" icon="LeetCodeEditorIcons.TIME"> |
| 272 | + <group id="leetcode.editor.timer" popup="true" text="Timer" description="timer(editor)" |
| 273 | + icon="LeetCodeEditorIcons.TIME"> |
264 | 274 | <action id="leetcode.editor.StartTimeAction"
|
265 | 275 | class="com.shuzijun.leetcode.plugin.actions.editor.StartTimeAction"
|
266 | 276 | text="Start" description="Start Time(editor)">
|
267 | 277 | </action>
|
268 |
| - <action id="leetcode.editor.StopTimeAction" class="com.shuzijun.leetcode.plugin.actions.editor.StopTimeAction" |
| 278 | + <action id="leetcode.editor.StopTimeAction" |
| 279 | + class="com.shuzijun.leetcode.plugin.actions.editor.StopTimeAction" |
269 | 280 | text="Stop" description="Stop Time(editor)">
|
270 | 281 | </action>
|
271 |
| - <action id="leetcode.editor.ResetTimeAction" class="com.shuzijun.leetcode.plugin.actions.editor.ResetTimeAction" |
| 282 | + <action id="leetcode.editor.ResetTimeAction" |
| 283 | + class="com.shuzijun.leetcode.plugin.actions.editor.ResetTimeAction" |
272 | 284 | text="Reset" description="Reset Time(editor)">
|
273 | 285 | </action>
|
274 | 286 | </group>
|
|
324 | 336 | <reference id="leetcode.LoginAction"/>
|
325 | 337 | <reference id="leetcode.LogoutAction"/>
|
326 | 338 | <separator/>
|
327 |
| - <action id="leetcode.codetop.RefreshAction" class="com.shuzijun.leetcode.plugin.actions.toolbar.RefreshAction" |
| 339 | + <action id="leetcode.codetop.RefreshAction" |
| 340 | + class="com.shuzijun.leetcode.plugin.actions.toolbar.RefreshAction" |
328 | 341 | text="Refresh question" description="Refreshquestion" icon="LeetCodeEditorIcons.REFRESH">
|
329 | 342 | </action>
|
330 | 343 | <action id="leetcode.codetop.FindAction" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindAction"
|
|
341 | 354 | </group>
|
342 | 355 |
|
343 | 356 | <group id="leetcode.codetop.find.Toolbar" popup="true" text="Status" description="Status">
|
344 |
| - <group id="leetcode.codetop.find.Difficulty" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" |
| 357 | + <group id="leetcode.codetop.find.Difficulty" |
| 358 | + class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" |
345 | 359 | popup="true" text="Difficulty" description="Difficulty">
|
346 | 360 | </group>
|
347 |
| - <group id="leetcode.codetop.find.Tags" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" popup="true" |
| 361 | + <group id="leetcode.codetop.find.Tags" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" |
| 362 | + popup="true" |
348 | 363 | text="Tags" description="Tags">
|
349 | 364 | </group>
|
350 |
| - <group id="leetcode.codetop.find.Company" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" |
| 365 | + <group id="leetcode.codetop.find.Company" |
| 366 | + class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" |
351 | 367 | popup="true" text="Company" description="Company">
|
352 | 368 | </group>
|
353 | 369 | <separator/>
|
354 |
| - <action id="leetcode.codetop.find.Clear" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindClearAction" |
| 370 | + <action id="leetcode.codetop.find.Clear" |
| 371 | + class="com.shuzijun.leetcode.plugin.actions.toolbar.FindClearAction" |
355 | 372 | text="Clear find" description="Clear find " icon="LeetCodeEditorIcons.CLEAN">
|
356 | 373 | </action>
|
357 | 374 | </group>
|
|
361 | 378 | class="com.shuzijun.leetcode.plugin.actions.toolbar.SortAction"
|
362 | 379 | text="Sort:" description="label"/>
|
363 | 380 | <separator/>
|
364 |
| - <action id="leetcode.codetop.sort.CodeTopSortByTitle" class="com.shuzijun.leetcode.plugin.actions.toolbar.SortAction" |
| 381 | + <action id="leetcode.codetop.sort.CodeTopSortByTitle" |
| 382 | + class="com.shuzijun.leetcode.plugin.actions.toolbar.SortAction" |
365 | 383 | text="Title" description="Sort By Title" icon="LeetCodeEditorIcons.SORT_ASC"/>
|
366 | 384 |
|
367 |
| - <action id="leetcode.codetop.sort.CodeTopSortByTime" class="com.shuzijun.leetcode.plugin.actions.toolbar.SortAction" |
| 385 | + <action id="leetcode.codetop.sort.CodeTopSortByTime" |
| 386 | + class="com.shuzijun.leetcode.plugin.actions.toolbar.SortAction" |
368 | 387 | text="Time" description="Sort By Time" icon="LeetCodeEditorIcons.SORT_ASC"/>
|
369 | 388 |
|
370 |
| - <action id="leetcode.codetop.sort.CodeTopSortByFrequency" class="com.shuzijun.leetcode.plugin.actions.toolbar.SortAction" |
| 389 | + <action id="leetcode.codetop.sort.CodeTopSortByFrequency" |
| 390 | + class="com.shuzijun.leetcode.plugin.actions.toolbar.SortAction" |
371 | 391 | text="Frequency" description="Sort By Frequency" icon="LeetCodeEditorIcons.SORT_ASC"/>
|
372 | 392 | </group>
|
373 | 393 |
|
374 | 394 | <group id="leetcode.all.find.Toolbar" popup="true" text="Status" description="Status">
|
375 | 395 | <group id="leetcode.all.find.Category" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup"
|
376 | 396 | popup="true" text="Category" description="Category">
|
377 | 397 | </group>
|
378 |
| - <group id="leetcode.all.find.Lists" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" popup="true" |
| 398 | + <group id="leetcode.all.find.Lists" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" |
| 399 | + popup="true" |
379 | 400 | text="Lists" description="Lists">
|
380 | 401 | </group>
|
381 |
| - <group id="leetcode.all.find.Difficulty" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" |
| 402 | + <group id="leetcode.all.find.Difficulty" |
| 403 | + class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" |
382 | 404 | popup="true" text="Difficulty" description="Difficulty">
|
383 | 405 | </group>
|
384 |
| - <group id="leetcode.all.find.Status" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" popup="true" |
| 406 | + <group id="leetcode.all.find.Status" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" |
| 407 | + popup="true" |
385 | 408 | text="Status" description="Status">
|
386 | 409 | </group>
|
387 |
| - <group id="leetcode.all.find.Tags" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" popup="true" |
| 410 | + <group id="leetcode.all.find.Tags" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindActionGroup" |
| 411 | + popup="true" |
388 | 412 | text="Tags" description="Tags">
|
389 | 413 | </group>
|
390 | 414 | <separator/>
|
|
0 commit comments