Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Toggle test coverage working incorrectly with split editor #1343

Closed
lggomez opened this issue Nov 15, 2017 · 2 comments
Closed

Toggle test coverage working incorrectly with split editor #1343

lggomez opened this issue Nov 15, 2017 · 2 comments

Comments

@lggomez
Copy link
Contributor

lggomez commented Nov 15, 2017

Hi, and thanks for this great extension beforehand. I come here to report the following issue:

  • VSCode Version: 1.18.0
  • Extension Version: 0.6.67

Steps to Reproduce:

  1. Open a go file and its test file in a single editor window
  2. Click the "run package test" option in the active editor. Alternatively, run the "Go: Toggle Test Coverage In Current Package" command. Either of these will highlight the test coverage for the source file in the current editor
  3. Split the editor with the highlighted source
  4. Run again the "Go: Toggle Test Coverage In Current Package" command

Expected result: The code coverage highlighting should be toggled for both editors
Actual result: The code coverage highlighting only toggles in the first (leftmost) editor

Reloading the window will remove the highlighting for all editors

@ramya-rao-a
Copy link
Contributor

You are welcome @leaxoy and thanks for reporting this issue.
The fix will be out in the next update

@ramya-rao-a
Copy link
Contributor

The fix is out in the latest update to the Go extension (0.6.69)

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants