interactive icon indicating copy to clipboard operation
interactive copied to clipboard

No special display for Console.Error

Open KathleenDollard opened this issue 2 years ago • 2 comments

Describe the bug

This link says that StandardError has special coloration. In my notebook:

Console.Out.WriteLine("Oh dear");
Console.Error.WriteLine("I ate too much fruit!");

Resulted in both lines appearing the same.

Please complete the following:

Version: 1.0.460101+f1a6f50a1171b8a13119a20811674d5079e2f61b

Library version: 1.0.0-beta.23601.1+f1a6f50a1171b8a13119a20811674d5079e2f61b

Build date: 2023-12-02T22:15:47.3640630Z

KathleenDollard avatar Dec 02 '23 23:12 KathleenDollard

The screen shots are from Jupyter Lab (where it works as expected), not from Polyglot Notebooks. It's possible the Polyglot Notebooks code is writing error output to the wrong API. Otherwise, this would be a VS Code issue.

jonsequitur avatar Dec 05 '23 22:12 jonsequitur

Same behaviour for me. It should perhaps be stated more explicitly that this is for C# code cells, as Powershell cells do format Write-Warning in yellow and Write-Error in red as expected (for example)

rohancragg avatar Mar 27 '24 10:03 rohancragg