Skip to content

Conversation

@hamidonos
Copy link
Collaborator

Supplier of type CachedSingletonsRegistry.lazy(PropertiesComponent::getInstance) was a workaround to assign the persistent cache to a static variable.

The CachedSingletonsRegistry causes trouble in newer versions of IntelliJ.

IntelliJ application services should not be assigned to static variables anyways due to lifecycle bindings. Simply making the persistentCache an instance variable solves this issue

Copy link
Member

@de-jcup de-jcup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@hamidonos hamidonos merged commit bcaae11 into develop Aug 15, 2025
2 checks passed
@hamidonos hamidonos deleted the feature-fix-intellij-startup-problems-4370 branch August 15, 2025 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plugin intellij: 1.0.0 startup problems

3 participants