Inspectopedia
 
2024.3

Stateful extension

Warning
Performance
New
Last modified: 03 December 2024

Reports extensions and quick-fixes holding potentially leaking state.

Keeping references to PsiElement, PsiReference, or Project instances can result in memory leaks.

Ideally, these should be stateless. For quick-fix, see LocalQuickFixOnPsiElement as a convenient base class.