Code Monkey home page Code Monkey logo

Comments (6)

kagof avatar kagof commented on June 21, 2024 1

Yeah would love it if someone else takes a look into it to see if it has become possible again! As a hint, the code lives in PokeballLoaderIconReplacer. It's all done by reflection. If I remember correctly, the issue is that the makeFieldNonFinal method had to actually use reflection on the Field class itself, in order to change the modifiers field to be accessible.

Newer versions of IntelliJ use a newer version of Java, which no longer allows you to do that (I believe they prevent reflection on anything in the java.lang package).

from intellij-pokemon-progress.

kagof avatar kagof commented on June 21, 2024 1

@HashimotoRyuga I believe this is because of #89, I will be addressing this soon hopefully.

As for the loader icon, I'm going to take another look at it, possibly with newer versions of IDEA it might have become possible again. I'm also not sure how well it plays with the new UI; might also need special handling for that!

If it isn't an easy win (which I suspect it won't be, unfortunately) I'll likely hide the option from the configuration UI in the next release, so it doesn't mislead people.

from intellij-pokemon-progress.

kagof avatar kagof commented on June 21, 2024

Hi, thanks for the feedback! The mechanism I used for changing the loader icon is super hacky; I won't get into details but Jetbrains definitely didn't intend for it to be replacable. I suspect you're on an older version of IDEA - can you confirm?

The "replace loader icon" checkbox doesn't work at all on newer versions of it, and I should just remove it.

That being said, I'm still surprised you're seeing this behavious, as I never did, however it's probably a moot point by now :)

from intellij-pokemon-progress.

law-millenium avatar law-millenium commented on June 21, 2024

Hey !
So sad to hear this.
I'm indeed on older versions (2021 and 2022).
I was asking this to you because I created a Naruto plugin from yours and was trying to implement some new features on the loader replacement when I saw this bug.
I should have checked what happened in last Idea releases...

I'll try to see if a workaround is possible anyway... and I'll tell you in this thread if I do someday !

Thanks for your reply ;)

from intellij-pokemon-progress.

HashimotoMomo avatar HashimotoMomo commented on June 21, 2024

I update intelij to 2023.3, the progress bars change back to the default
QWLKG 3DIP_%Z1STNX`I update intelij to 2023.3, the progress bars back to the default PM

I reinstalled this plugin, progress bars changed,but once I restart Intelij IDEA,bars still changed back to default

from intellij-pokemon-progress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.