interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Visual Studio Notebooks: newlines in string output are lost.

Open NiklasGustafsson opened this issue 3 years ago • 1 comments

Describe the bug

When I run a cell that produces string output, and that output contains newline characters, the expected multiple lines are not shown.

I have attached screenshots of VS Code and VS formatting a multiple-line output of a TorchSharp tensor.

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):1.0.310301

  • OS
    • [X] Windows 11
    • [ ] Windows 10
    • [ ] macOS
    • [ ] Linux (Please specify distro)
    • [ ] iOS
    • [ ] Android
  • Frontend
    • [ ] Jupyter Notebook
    • [ ] Jupyter Lab
    • [ ] Interact
    • [ ] Visual Studio Code
    • [ ] Visual Studio Code Insiders
    • [X] Visual Studio
    • [ ] Other (please specify)

Screenshots

If applicable, add screenshots to help explain your problem. Screenshot 2022-05-13 101442 Screenshot 2022-05-13 101356

NiklasGustafsson avatar May 13 '22 17:05 NiklasGustafsson

Related with https://github.com/dotnet/interactive/issues/2012

zewditu avatar Jun 21 '22 17:06 zewditu

Closing as support for notebooks in VS has been discontinued

claudiaregio avatar Jan 04 '23 23:01 claudiaregio