|
332 | 332 | </change-notes>
|
333 | 333 |
|
334 | 334 | <!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html for description -->
|
335 |
| - <idea-version since-build="143.0"/> |
| 335 | + <idea-version since-build="163.0"/> |
336 | 336 |
|
337 | 337 | <!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html
|
338 | 338 | on how to target different products -->
|
|
346 | 346 | <extensions defaultExtensionNs="com.intellij">
|
347 | 347 | <!-- <postStartupActivity implementation = "com.shuzijun.leetcode.plugin.listener.RegisterPluginInstallerStateListener"></postStartupActivity>-->
|
348 | 348 | <errorHandler implementation="com.shuzijun.leetcode.plugin.listener.ErrorReportHandler"/>
|
349 |
| - <toolWindow id="leetcode" secondary="true" icon="/image/LeetCodeIcon.png" anchor="right" |
| 349 | + <toolWindow id="leetcode" secondary="true" icon="LeetCodeEditorIcons.LEETCODE_TOOL_WINDOW" anchor="right" |
350 | 350 | factoryClass="com.shuzijun.leetcode.plugin.window.WindowFactory"/>
|
351 | 351 | <applicationService serviceInterface="com.shuzijun.leetcode.plugin.setting.PersistentConfig"
|
352 | 352 | serviceImplementation="com.shuzijun.leetcode.plugin.setting.PersistentConfig"/>
|
|
361 | 361 |
|
362 | 362 | <actions>
|
363 | 363 | <action id="leetcode.LoginAction" class="com.shuzijun.leetcode.plugin.actions.toolbar.LoginAction"
|
364 |
| - text="Sign in" description="Sign in" icon="AllIcons.General.Web"> |
| 364 | + text="Sign in" description="Sign in" icon="LeetCodeEditorIcons.LOGIN"> |
365 | 365 | </action>
|
366 | 366 | <action id="leetcode.LogoutAction" class="com.shuzijun.leetcode.plugin.actions.toolbar.LogoutAction"
|
367 |
| - text="Sign out" description="Sign out" icon="AllIcons.Actions.Exit"> |
| 367 | + text="Sign out" description="Sign out" icon="LeetCodeEditorIcons.LOGOUT"> |
368 | 368 | </action>
|
369 | 369 | <action id="leetcode.RefreshAction" class="com.shuzijun.leetcode.plugin.actions.toolbar.RefreshAction"
|
370 |
| - text="Refresh question" description="Refreshquestion" icon="AllIcons.Actions.Refresh"> |
| 370 | + text="Refresh question" description="Refreshquestion" icon="LeetCodeEditorIcons.REFRESH"> |
371 | 371 | </action>
|
372 | 372 | <action id="leetcode.FindAction" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindAction"
|
373 |
| - text="Find question" description="Refreshquestion" icon="AllIcons.Actions.Find"> |
| 373 | + text="Find question" description="Refreshquestion" icon="LeetCodeEditorIcons.FIND"> |
374 | 374 | </action>
|
375 | 375 | <action id="leetcode.ProgressAction" class="com.shuzijun.leetcode.plugin.actions.toolbar.ProgressAction"
|
376 |
| - text="Progress" description="Progress" icon="AllIcons.Diff.Compare4LeftBottom"> |
| 376 | + text="Progress" description="Progress" icon="LeetCodeEditorIcons.PROGRESS"> |
377 | 377 | </action>
|
378 | 378 |
|
379 | 379 | <action id="leetcode.ConfigAction" class="com.shuzijun.leetcode.plugin.actions.toolbar.ConfigAction"
|
380 |
| - text="Settings" description="Settings" icon="AllIcons.General.GearPlain"> |
| 380 | + text="Settings" description="Settings" icon="LeetCodeEditorIcons.CONFIG"> |
381 | 381 | </action>
|
382 | 382 | <action id="leetcode.ClearAllAction" class="com.shuzijun.leetcode.plugin.actions.toolbar.ClearAllAction"
|
383 |
| - text="Clear cache" description="Clear cache" icon="AllIcons.Process.StopHovered"> |
| 383 | + text="Clear cache" description="Clear cache" icon="LeetCodeEditorIcons.CLEAR"> |
384 | 384 | </action>
|
385 | 385 | <action id="leetcode.CollapseAction" class="com.shuzijun.leetcode.plugin.actions.toolbar.CollapseAction"
|
386 |
| - text="Collapse All" description="Collapse All" icon="AllIcons.Actions.Collapseall"> |
| 386 | + text="Collapse All" description="Collapse All" icon="LeetCodeEditorIcons.COLLAPSE"> |
387 | 387 | </action>
|
388 | 388 |
|
389 | 389 | <action id="leetcode.HelpAction" class="com.shuzijun.leetcode.plugin.actions.toolbar.HelpAction"
|
390 |
| - text="Help" description="Help" icon="AllIcons.Actions.Help"> |
| 390 | + text="Help" description="Help" icon="LeetCodeEditorIcons.HELP"> |
391 | 391 | </action>
|
392 | 392 |
|
393 | 393 | <action id="leetcode.OpenAction" class="com.shuzijun.leetcode.plugin.actions.tree.OpenAction"
|
394 |
| - text="open question" description="open question" icon="AllIcons.Actions.Annotate"> |
| 394 | + text="open question" description="open question" icon="LeetCodeEditorIcons.QUESTION"> |
395 | 395 | </action>
|
396 | 396 |
|
397 | 397 | <action id="leetcode.OpenContentAction" class="com.shuzijun.leetcode.plugin.actions.tree.OpenContentAction"
|
398 |
| - text="open content" description="open content" icon="AllIcons.FileTypes.UiForm"> |
| 398 | + text="open content" description="open content" icon="LeetCodeEditorIcons.DESC"> |
399 | 399 | </action>
|
400 | 400 | <action id="leetcode.OpenSolutionAction" class="com.shuzijun.leetcode.plugin.actions.tree.OpenSolutionAction"
|
401 |
| - text="open solution" description="open solution" icon="AllIcons.Actions.IntentionBulbGrey"> |
| 401 | + text="open solution" description="open solution" icon="LeetCodeEditorIcons.SOLUTION"> |
402 | 402 | </action>
|
403 | 403 |
|
404 |
| - |
405 | 404 | <action id="leetcode.OpenInWebAction" class="com.shuzijun.leetcode.plugin.actions.tree.OpenInWebAction"
|
406 |
| - text="open in web" description="open in web" icon="AllIcons.Actions.MoveTo2"> |
| 405 | + text="open in web" description="open in web" icon="LeetCodeEditorIcons.POPUP"> |
407 | 406 | </action>
|
408 | 407 |
|
409 | 408 | <action id="leetcode.SubmitAction" class="com.shuzijun.leetcode.plugin.actions.tree.SubmitAction"
|
410 |
| - text="Submit" description="Submit" icon="AllIcons.Actions.StepOut"> |
| 409 | + text="Submit" description="Submit" icon="LeetCodeEditorIcons.SUBMIT"> |
411 | 410 | </action>
|
412 | 411 | <action id="leetcode.SubmissionsAction" class="com.shuzijun.leetcode.plugin.actions.tree.SubmissionsAction"
|
413 |
| - text="Submissions" description="Submissions" icon="AllIcons.Actions.ShowHiddens"> |
| 412 | + text="Submissions" description="Submissions" icon="LeetCodeEditorIcons.HISTORY"> |
414 | 413 | </action>
|
415 | 414 | <action id="leetcode.RunCodeAction" class="com.shuzijun.leetcode.plugin.actions.tree.RunCodeAction"
|
416 |
| - text="Run Code" description="Run Code" icon="AllIcons.Actions.Execute"> |
| 415 | + text="Run Code" description="Run Code" icon="LeetCodeEditorIcons.RUN"> |
417 | 416 | </action>
|
418 | 417 | <action id="leetcode.TestcaseAction" class="com.shuzijun.leetcode.plugin.actions.tree.TestcaseAction"
|
419 |
| - text="Testcase" description="Test case" icon="AllIcons.Actions.Edit"> |
| 418 | + text="Testcase" description="Test case" icon="LeetCodeEditorIcons.EDIT_DOC"> |
420 | 419 | </action>
|
421 | 420 | <action id="leetcode.ClearOneAction" class="com.shuzijun.leetcode.plugin.actions.tree.ClearOneAction"
|
422 |
| - text="Clear cache" description="Clear cache" icon="AllIcons.Process.StopHovered"> |
| 421 | + text="Clear cache" description="Clear cache" icon="LeetCodeEditorIcons.CLEAR"> |
423 | 422 | </action>
|
424 | 423 |
|
425 | 424 | <action id="leetcode.PickAction" class="com.shuzijun.leetcode.plugin.actions.toolbar.PickAction"
|
426 |
| - text="Pick one" description="Pick one" icon="AllIcons.Diff.MagicResolve"> |
| 425 | + text="Pick one" description="Pick one" icon="LeetCodeEditorIcons.RANDOM"> |
427 | 426 | </action>
|
428 | 427 |
|
429 | 428 | <group id="leetcode.NavigatorActionsToolbar">
|
|
454 | 453 | <reference id="leetcode.TestcaseAction"/>
|
455 | 454 | <separator/>
|
456 | 455 | <group id="leetcode.FavoriteGroup" class="com.shuzijun.leetcode.plugin.actions.tree.FavoriteActionGroup"
|
457 |
| - popup="true" text="Favorite" description="Favorite" icon="AllIcons.Actions.Menu_open"> |
| 456 | + popup="true" text="Favorite" description="Favorite" icon="LeetCodeEditorIcons.FAVORITE"> |
458 | 457 | </group>
|
459 | 458 | <separator/>
|
460 |
| - <group id="leetcode.timer" popup="true" text="Timer" description="timer" icon="AllIcons.Vcs.History"> |
| 459 | + <group id="leetcode.timer" popup="true" text="Timer" description="timer" icon="LeetCodeEditorIcons.TIME"> |
461 | 460 | <action id="leetcode.StartTimeAction"
|
462 | 461 | class="com.shuzijun.leetcode.plugin.actions.tree.StartTimeAction"
|
463 | 462 | text="Start" description="Start Time">
|
|
488 | 487 | </group>
|
489 | 488 | <separator/>
|
490 | 489 | <action id="leetcode.find.Clear" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindClearAction"
|
491 |
| - text="Clear find" description="Clear find " icon="AllIcons.Process.StopHovered"> |
| 490 | + text="Clear find" description="Clear find " icon="LeetCodeEditorIcons.CLEAN"> |
492 | 491 | </action>
|
493 | 492 | <action id="leetcode.find.Config" class="com.shuzijun.leetcode.plugin.actions.toolbar.FindConfigAction"
|
494 | 493 | text="∩" description="find intersection">
|
|
497 | 496 |
|
498 | 497 |
|
499 | 498 | <group id="leetcode.editor.menu" class="com.shuzijun.leetcode.plugin.actions.editor.EditorMenuActionGroup"
|
500 |
| - text="leetcode editor menu" popup="true" icon="/image/LeetCodeIcon.png"> |
| 499 | + text="leetcode editor menu" popup="true" icon="LeetCodeEditorIcons.LEETCODE_TOOL_WINDOW"> |
501 | 500 |
|
502 | 501 | <action id="leetcode.editor.RunCodeAction" class="com.shuzijun.leetcode.plugin.actions.editor.RunCodeAction"
|
503 |
| - text="Run Code" description="Run Code(editor)" icon="AllIcons.Actions.Execute"> |
| 502 | + text="Run Code" description="Run Code(editor)" icon="LeetCodeEditorIcons.RUN"> |
504 | 503 | </action>
|
505 | 504 | <action id="leetcode.editor.TestcaseAction"
|
506 | 505 | class="com.shuzijun.leetcode.plugin.actions.editor.TestcaseAction"
|
507 |
| - text="Testcase" description="Test case(editor)" icon="AllIcons.Actions.Edit"> |
| 506 | + text="Testcase" description="Test case(editor)" icon="LeetCodeEditorIcons.EDIT_DOC"> |
508 | 507 | </action>
|
509 | 508 | <separator/>
|
510 | 509 | <action id="leetcode.editor.SubmitAction" class="com.shuzijun.leetcode.plugin.actions.editor.SubmitAction"
|
511 |
| - text="Submit" description="Submit(editor)" icon="AllIcons.Actions.StepOut"> |
| 510 | + text="Submit" description="Submit(editor)" icon="LeetCodeEditorIcons.SUBMIT"> |
512 | 511 | </action>
|
513 | 512 | <action id="leetcode.editor.SubmissionsAction"
|
514 | 513 | class="com.shuzijun.leetcode.plugin.actions.editor.SubmissionsAction"
|
515 |
| - text="Submissions" description="Submissions(editor)" icon="AllIcons.Actions.ShowHiddens"> |
| 514 | + text="Submissions" description="Submissions(editor)" icon="LeetCodeEditorIcons.HISTORY"> |
516 | 515 | </action>
|
517 | 516 | <separator/>
|
518 | 517 | <action id="leetcode.editor.OpenContentAction"
|
519 | 518 | class="com.shuzijun.leetcode.plugin.actions.editor.OpenContentAction"
|
520 |
| - text="open content" description="open content(editor)" icon="AllIcons.FileTypes.UiForm"> |
| 519 | + text="open content" description="open content(editor)" icon="LeetCodeEditorIcons.DESC"> |
521 | 520 | </action>
|
522 | 521 | <action id="leetcode.editor.OpenSolutionAction" class="com.shuzijun.leetcode.plugin.actions.editor.OpenSolutionAction"
|
523 |
| - text="open solution" description="open solution" icon="AllIcons.Actions.IntentionBulbGrey"> |
| 522 | + text="open solution" description="open solution" icon="LeetCodeEditorIcons.SOLUTION"> |
524 | 523 | </action>
|
525 | 524 | <action id="leetcode.editor.OpenInWebAction"
|
526 | 525 | class="com.shuzijun.leetcode.plugin.actions.editor.OpenInWebAction"
|
527 |
| - text="open in web" description="open in web(editor)" icon="AllIcons.Actions.MoveTo2"> |
| 526 | + text="open in web" description="open in web(editor)" icon="LeetCodeEditorIcons.POPUP"> |
528 | 527 | </action>
|
529 | 528 | <separator/>
|
530 |
| - <group id="leetcode.editor.timer" popup="true" text="Timer" description="timer(editor)" icon="AllIcons.Vcs.History"> |
| 529 | + <group id="leetcode.editor.timer" popup="true" text="Timer" description="timer(editor)" icon="LeetCodeEditorIcons.TIME"> |
531 | 530 | <action id="leetcode.editor.StartTimeAction"
|
532 | 531 | class="com.shuzijun.leetcode.plugin.actions.editor.StartTimeAction"
|
533 | 532 | text="Start" description="Start Time(editor)">
|
|
0 commit comments