Thanks, thats some ugly hacks though.
StartupUtil.isDarkTheme - !JBColor.isBright()
I have 47 issues, I simply can’t be filing tickets one by one to change them. Will take months to years. I would have liked to be able to start offering the plugin soon.
I wonder if its distributed as free version also runs into these kinds of hurdles. Or is it just for paid plugins? Cause back in the days, I did not encounter these kinds of verifiers when uploading a plugin.
Why is ShutDownTracker dangerous? Its simply allowing you to be notified when it shuts down.
Again, these kinds of annotations are good to have, such as @Deprecated, or @SoonToBeDeprcated, or @MightChangeInTheFuture … but to enforce them or mark large parts of the code as @Internal and refusing to allow their use kind of defeats the purpose of a platform which we are supposed to be able to extend if users might feel something is missing.
I will try to get around some of thesee, but to be able to pull off 47 is asking for too much. I might have to resort to some tricks, and this will take so much effort because some coder decides to mark something internal cause they wanted to make the API or code modifiable.
I feel as it should be as a plugin developers own risk if you are using something that you’ve been told might change in the future. The code won’t even compile likely if something is renamed or moved, or deleted.
As in its internal, i feel a lot of it is not really that internal.
Some simply just annotated with that in the end just takes more options or parameters and the non internal version is just a very limited subset.
Needless to say, the annotation seems to be saying overriding might be an option to bypass, but also not sure if that will actually work, especially for static access classes and methods.
Reflection might also work, but I feel that will just become untenable and beats the purpose.
Thank you, I hope you just understand its kind of frustrating having spent so much time to get into this kind of delay at this point.
I know you are guiding me, but I am also hoping Jetbrains can after testing of the plugin give a pass on this kind usage. It did not sound like it was impossible.