Skip to content

testing: fix duplicated command in command palette#286279

Merged
connor4312 merged 1 commit intomainfrom
connor4312/258967
Jan 7, 2026
Merged

testing: fix duplicated command in command palette#286279
connor4312 merged 1 commit intomainfrom
connor4312/258967

Conversation

@connor4312
Copy link
Member

Closes #258967

Copilot AI review requested due to automatic review settings January 7, 2026 03:14
@connor4312 connor4312 enabled auto-merge (squash) January 7, 2026 03:14
@connor4312 connor4312 self-assigned this Jan 7, 2026
@vs-code-engineering vs-code-engineering bot added this to the December 2025 milestone Jan 7, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes duplicate command entries in the command palette for two test coverage navigation commands by removing redundant f1: true properties.

  • Removes f1: true from GoToNextMissedCoverageLine and GoToPreviousMissedCoverageLine actions
  • Both actions already explicitly register with MenuId.CommandPalette using conditional visibility (when: TestingContextKeys.isTestCoverageOpen)
  • The redundant f1: true was causing these commands to appear twice in the command palette

@connor4312 connor4312 merged commit d1d43fd into main Jan 7, 2026
27 of 28 checks passed
@connor4312 connor4312 deleted the connor4312/258967 branch January 7, 2026 03:59
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Feb 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a "Go to next missed line" button to the Test Coverage Toolbar

3 participants