acejump / AceJump

🅰️ single character search, select, and jump
https://plugins.jetbrains.com/plugin/7086-acejump
GNU General Public License v3.0
1.23k stars 91 forks source link

fix(compatibility): avoid 'java.lang.NoSuchFieldError: Companion' error on lower version IDEA ide #440

Closed wuruofan closed 1 year ago

wuruofan commented 1 year ago

For some reason, I have to use the specific version of IDEA based ide.

I met the error while jumping to the tag, which is quite wired, the error message says "java.lang.NoSuchFieldError: Companion".

I locate the problem is occurred while calling FileEditorManagerEx.getInstanceEx() function, so I direct call the inner function instead, then it works.

--- git log below ---

avoid 'java.lang.NoSuchFieldError: Companion' error on lower version IDEA ide such as DevEco Studio, which related to FileEditorManagerEx.getInstanceEx() companion

Related issues: #434, #438, #435, etc.