[Bug] File preview displays duplicate line numbers at function boundaries in long files
Status Closed — not planned
Reported on v2.1.138
Maintainer reply None cached
Workaround ✓ Mentioned in description ↑
Activity 5 comments · opened May 11, 2026 · closed Jun 27, 2026
Bug Description
File preview shows duplicate line numbers (e.g. lines 104,105,106 appear twice) at transitions between functions in longer Go files. Reproducible: when writing a config.go with ~120 lines containing multiple functions, the preview between functions duplicates 2-3 lines. Workaround: split file into smaller Write/Edit calls.
Environment Info
- Platform: win32
- Terminal: vscode
- Version: 2.1.138
- Feedback ID: 7c5cf248-aa53-4d03-9f92-3a0bd582483a
Errors
[]This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗