Skip to content

Highlight the first error, not the last #434

Open
@emmenlau

Description

Checklist

Is your feature request related to a problem? Please describe.
Currently, when I click on a failed test that has multiple failures, the test extension will jump to the last error. However, I have found that in case of multiple errors, the last error often is in response to the earlier errors. This has mislead me already a few times, when following up a failed test.

Would it be possible to always jump to the first error instead?

Here an example with 4 errors, of which the last one is highlighted, but the first one caused the problem:
image

Describe the solution you'd like
When I click on a failed test (in the left side-panel, that shows the overview of all tests), then the editor should jump to the first error in that test, not the last one.

Describe alternatives you've considered
I usually scroll manually to the first failure, but this is more cumbersome. I also sometimes use the small overview of failures in the bottom right side panel, but that is also more cumbersome for me, and i.e. I sometimes overlook that there are multiple errors.

Thanks a lot for your consideration and the great work!

Metadata

Assignees

No one assigned

    Labels

    incompleteMake sure you followed the issue template

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions