Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork410
fix #648 & replace deprecated methods#652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Compatible with the historical version of IDE, do not change this API for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
pluginSinceBuild: 203.0
com.intellij.openapi.util.IconLoader#getIcon(java.lang.String, java.lang.Class<?>)
already exists in version202.8194.7 and it is not marked @ deprecated in version223.
Of course, you can also useIntelliJ Plugin Verifier to verify compatibility. (I have verified its compatibility in my plugin (V) (°,,,,°) (V))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I have modified this API in a certain version, but the display effect is not as expected. I am not sure which version of the IDE has been fixed. 😟
NAVIGATOR_TABS_PANEL_DISPOSABLE_MAP.put(id, this);
before getUser()?com.intellij.openapi.util.IconLoader#getIcon(java.lang.String, java.lang.Class<?>)
instead.