vscode-jupyter icon indicating copy to clipboard operation
vscode-jupyter copied to clipboard

Unpleasant wrapping of error text in interactive window output

Open mjbvz opened this issue 4 years ago • 2 comments

Issue Type: Bug

  1. Open the interactive window
  2. Shrink it to a smaller width (I was using a two column editor layout)
  3. Run the code noSuchSymbol

Bug The error text wraps oddly:

Screen Shot 2021-10-05 at 10 52 16 AM

Specifically:

  • The --- goes onto multiple lines
  • Traceback gets split up without a clear indication that it is wrapping

Extension version: 2021.9.1001294413 VS Code version: Code - Insiders 1.61.0-insider (Universal) (71ca6e8e74591ae5c577d52a2aa1bd0c3df5ac32, 2021-10-05T01:23:40.704Z) OS version: Darwin x64 20.6.0 Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 2, 2
Memory (System) 32.00GB (3.69GB free)
Process Argv --crash-reporter-id 48781ca2-1705-4f64-9bab-325055aab55d
Screen Reader no
VM 0%
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt602:30291494
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30291487
pythontb:30258533
pythonvspyt551cf:30291413
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
pythonvsuse255:30319630
vscod805cf:30301675
pythonvspyt200:30323110
vsccppwt:30364496
pythonvssor306:30340298
bridge0708:30335490
pygetstartedt2:30353727
bridge0723:30353136
pythonrunftest32:30365365
pythonf5test824:30361779
javagetstartedt:30350119
pythonvspyt187:30365360
pydsgst2:30361790
vsqsis300:30374797
vsaa593cf:30376535

mjbvz avatar Oct 05 '21 17:10 mjbvz

Enhancement because this is something we'd need to add to the extension to parse the output in order to display something that looks nicer.

greazer avatar Oct 11 '21 20:10 greazer

Not sure if this is the exact same issue, but I'm noticing that error text (eg a long filepath) isn't even being wrapped at all:

image

jaymegordo avatar Nov 09 '21 00:11 jaymegordo

This is no IW specific but related to the error output renderer

rebornix avatar Aug 15 '22 19:08 rebornix