Skip to content

[CV-8]: [Fix] Windows Path Separator For Line Decorations#7

Merged
kool7 merged 1 commit intomainfrom
fix/windows-path-separator
May 6, 2026
Merged

[CV-8]: [Fix] Windows Path Separator For Line Decorations#7
kool7 merged 1 commit intomainfrom
fix/windows-path-separator

Conversation

@kool7
Copy link
Copy Markdown
Owner

@kool7 kool7 commented May 6, 2026

  • Fixed line highlights (red/green) not appearing on Windows — coverage files store paths with forward slashes but Windows editor paths use backslashes, causing every file lookup to silently fail.
  • Sidebar coverage percentages and status bar were unaffected since they iterate files directly; only the editor decoration lookup used the broken path matching.
  • Normalized path separators on both sides of the comparison so the fix works regardless of OS or how the coverage file was generated.

@kool7 kool7 added the bug Something isn't working label May 6, 2026
@kool7 kool7 self-assigned this May 6, 2026
@kool7 kool7 merged commit a9c776e into main May 6, 2026
1 check passed
@kool7 kool7 deleted the fix/windows-path-separator branch May 6, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant