clutcher / bh

Issue tracker for Better Highlights Intellij IDEA plugin
7 stars 0 forks source link

Settings reset after each program restart (Inlay Hints) #78

Closed WolfTM closed 9 months ago

WolfTM commented 10 months ago

I always enable all inlay hint settings for the extension. However when I restart my IDEA it resets the settings to default or in this case limited/disabled.

clutcher commented 10 months ago

@WolfTM Can you give more details. I just checked with enabling/disabling "enable cognitive complexity" checkbox in my IDEA, ant settings are preserved between restarts.

WolfTM commented 10 months ago

Hey,

Sure, first off when I start up IntelliJ with BetterHighlights active it resets all my Inlay Hints settings related to JavaScript, TypeScript, ECMAScript, JavaScript 1.8, TypeScript JSX. So I have to re-enable everything on startup again.

If I disable Betterhighlights, it removes of course the extra options it comes with but it doesn't disable my default IntelliJ Inlay Hints for JavaScript and TypeScript.

It happens with the following Inlay Categories Inlay Hints > Other Inlay Hints > Types

When you do enable all of the settings and click apply, it for some reason also seems to break the settings buttons as the button OK won't be able to be triggered to close the menu like it normally shou.d

If you need any logs or something let me know which ones and were to find them as I normally don't really dive into that stuff.

clutcher commented 9 months ago

@WolfTM Finally I was able to take a look here. And I can't reproduce it.

So, I open Intellij Idea, disabled everything under Inlay Hints->Types->Javascript, click OK, close Idea, open again and everything in that section is still disabled. Am I missing something?

P.S. Testing on Idea 2023.2.2 with latest plugin version 2023.8.2.

WolfTM commented 9 months ago

Hey @clutcher ,

Sorry for the late reply. Today I noticed that my Jetbrains Toolbox and Apps we're no longer updating and failed to install. After upgrading to Toolbox 2 and migrating my IDE's and updating them it seem to have resolved itself.

I would guess that something went wrong or got corrupted and I never noticed it.

Apologies for my unawareness.