dotnet / dotnet/fsharp

VS2022 F# Interactive output pane interspersing empty lines at random on large text output

Open
#18,064 1 comment 2 reactions 0 assignees View on GitHub
AI-thinks-windows-only Area-VS-FSI Bug help wanted Impact-Low
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

I noticed the F# Interactive output pane in VS 2022 intersperses empty line randomly:

```fsharp
for i in 1..10000 do
printfn $"\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}\t{i}"
```

When I copy paste the output into notepad, things seem to work fine, but in the output itself, or pasting to excel, empty lines are indeed there.

![Image](https://github.com/user-attachments/assets/ba02d15c-d87d-47ff-90e0-f126538f1914)

Visual Studio 2022 17.12.0 preview 5.0

It makes it cumbersome to work with the textual output of this pane in VS.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.