question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[VS Code] F# formatted print splits output into multiple lines

See original GitHub issue

Describe the bug

In the VS Code extension, printing formatted values splits the output into multiple lines.

Please complete the following:

Which version of .NET Interactive are you using? There are a few ways to find this out:

  • .NET Interactive Version: 1.0.150105+6b0336d159c1643d967244f0047b44d42a0221b6
  • .NET Interactive Notebooks extension: v1.0.150105
  • VS Code Insiders Version: 1.50.0-insider
  • In a notebook, run the #!about magic command.
  • At the command line, run dotnet interactive --version.
  • In VS Code, run "Report installed version for .NET Interactive` and copy the version number from the status popup.
  • OS
    • Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Browser
    • Chrome
    • Edge
    • Firefox
    • Safari
  • Frontend
    • Jupyter Notebook
    • Jupyter Lab
    • nteract
    • Visual Studio Code
    • Other (please specify)

Screenshots

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:6
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
jonsequiturcommented, Jul 30, 2021

This should be fixed by #1514.

1reaction
nodakaicommented, Jul 28, 2021

Had the same problem with VSCode/Mac.

Use of string interpolation didn’t help

Console.Out.WriteLine worked as expected (within .Net Interactive/F#)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do you stop Prettier in VS code splitting attributes onto ...
A quick fix is to go to Prettier Extension Settings (ctrl + shift + X) and in Prettier Extension Settings search for "Print...
Read more >
Integrated Terminal in Visual Studio Code
Place multiple terminals side-by-side and create a group by splitting a terminal: Hover over a entry in the list of terminals on the...
Read more >
keyboard-shortcuts-windows.pdf
Go to beginning/end of line. Ctrl+Home ... Unfold (uncollapse) all subregions ... Ctrl+F. Find. Ctrl+H. Replace. F3 / Shift+F3. Find next/previous.
Read more >
Keyboard shortcuts for macOS
Fold/unfold all subregions ... Insert cursor at end of each line selected ... ⇧⌥F. Format document. ⌘K ⌘F. Format selection. F12. Go to...
Read more >
Write a long string on multiple lines in Python - nkmk note
This article explains how to break a long string into multiple lines without including a newline character. Contents.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found