shuzijun / leetcode-editor

Do Leetcode exercises in IDE, support leetcode.com and leetcode-cn.com, to meet the basic needs of doing exercises.Support theoretically: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio
https://plugins.jetbrains.com/plugin/12132-leetcode-editor
Apache License 2.0
3.71k stars 400 forks source link

fix #648 & replace deprecated methods #652

Open Wujiaxuan007 opened 1 year ago

Wujiaxuan007 commented 1 year ago
  1. NPE occurs when multiple new projects are opened and leetcode tool windows is switched. It's better to do NAVIGATOR_TABS_PANEL_DISPOSABLE_MAP.put(id, this); before getUser()?

    image
  2. 'getIcon(java.lang.@org.jetbrains.annotations.NonNls @org.jetbrains.annotations.NotNull String)' is deprecated and marked for removal. Usecom.intellij.openapi.util.IconLoader#getIcon(java.lang.String, java.lang.Class<?>) instead.

    image