Skip to content

Use runWhenSmart with project indexing support #683

Open
@angelozerr

Description

I have some discussion on JetBrains Slack and it seems since IJ 2024.3 a bug was fixed with runWhenSmart which executes the runnable when scanning and dumb are finished. Before this version the runnable is executed only when dumb is finished.

It would be nic to use runWhenSmart by checking that IJ >= 2024.3 instead of using ProjectIndexingActivityHistoryListener with Java reflection (because this API is internal).

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions