Skip to content

fix(coverage): select the opened file as soon as coverage loads - #138

Merged
roxblnfk merged 2 commits into
mainfrom
fix/coverage-select-opened-file
Oct 16, 2026
Merged

roxblnfk merged 2 commits into
mainfrom
fix/coverage-select-opened-file

Conversation

@roxblnfk

Copy link
Copy Markdown
Collaborator

🔍 What was changed

  • With Select Opened File on, the Coverage view now selects the editor's file as soon as coverage is loaded or reapplied, including coverage loaded from history. Before, the selection waited for the next editor tab switch.
  • Switching between Coverage tabs selects the editor's file again in the tab that comes to front.

Checklist

  • How was this tested:
    • Tested manually
    • Unit tests added

Applying a bundle builds a new Coverage view, and the toggle only selected on an editor switch, so coverage loaded from history showed no selection until then.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

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@v2026.2.2
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

@roxblnfk
roxblnfk merged commit f8d2195 into main Oct 16, 2026
8 checks passed
@roxblnfk
roxblnfk deleted the fix/coverage-select-opened-file branch October 16, 2026 23:38
roxblnfk added a commit that referenced this pull request Oct 16, 2026
Applying a bundle builds a new Coverage view, and the toggle only selected on an editor switch, so coverage loaded from history showed no selection until then.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
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