Skip to content

fix: replace internal API usage#74

Merged
thinkAmi merged 1 commit intomainfrom
fix/internal_api
Feb 8, 2026
Merged

fix: replace internal API usage#74
thinkAmi merged 1 commit intomainfrom
fix/internal_api

Conversation

@thinkAmi
Copy link
Copy Markdown
Owner

@thinkAmi thinkAmi commented Feb 8, 2026

Summary

This PR removes the internal IntelliJ API usage reported during plugin review and keeps the current navigation UX by deferring navigation until the project is ready.

What Changed

  • Replaced StartupManager.runAfterOpened(...) with a public-API-based approach (DumbService.runWhenSmart(...)).
  • Added ProjectReadyScheduler to centralize project readiness checks (initialized, smart mode, not disposed).
  • Updated navigation call paths in SimpleRoute and RoutesTable to use the new scheduler.
  • Added a CI safeguard in .github/workflows/build.yml to fail when Plugin Verifier reports indicate internal API usage.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 8, 2026

Qodana for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/qodana-action@v2025.1.1
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

@thinkAmi thinkAmi merged commit 1ee23dd into main Feb 8, 2026
6 checks passed
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.

1 participant