Repository: vscode
Issue: Cannot clipboard error-output of .ipynb cell
Labels: under-discussion,notebook-output

Type: <b>Bug</b>

Execute a cell that produces an error stack-trace that doesn't fit in the visible window.

Now try copying that to clipboard.

If you try with the mouse/trackpad, i.e. Select the start, then drag, once the cursor hits the bottom of the visible area it should scroll the contents, allowing to select the entire error. But it doesn't. hmm I do have Terminal showing below the .ipynb view. If I move the mouse to the bottom of the VSCode window, i.e. below the Terminal, it DOES start scrolling. But this is a bug.

And if I CMD+a it seems to be selecting all cells, even tho' I've clicked in the error-box.

Now I right-click in the error-box, hoping there'll be a "Copy All to Clipboard" but there's no right-click context-menu.

So, I am at my wits' end. Can't clipboard this error. A little clipboard icon top right would be swell. I can imagine an increasing fraction of your users are ferrying errors/code between VSCode and ChatGPT+.

StretchGoal: It would be really nice if team VSCode could perform some clean up on the traceback dump. I almost never want to see the entire stack-trace. Certainly not the frames outside of my codebase. Can't you fold the not-my-code frames with a "..." and let me click to expand them? Reducing the vertical space consumed thus would improve notebook UX.

VS Code version: Code 1.82.2 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d, 2023-09-14T06:00:27.244Z)
OS version: Darwin arm64 23.0.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Apple M2 (8 x 24)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled|
|Load (avg)|2, 2, 2|
|Memory (System)|24.00GB (4.18GB free)|
|Process Argv|--crash-reporter-id b8040d6e-1dc5-486f-9db9-fc96f67f36eb|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (12)</summary>

Extension|Author (truncated)|Version
---|---|---
copilot|Git|1.114.426
rainbow-csv|mec|3.7.1
python|ms-|2023.16.0
vscode-pylance|ms-|2023.9.20
jupyter|ms-|2023.8.1002501831
jupyter-keymap|ms-|1.1.2
jupyter-renderers|ms-|1.0.17
vscode-jupyter-cell-tags|ms-|0.1.8
vscode-jupyter-slideshow|ms-|0.1.5
remote-ssh|ms-|0.106.4
remote-ssh-edit|ms-|0.86.0
remote-explorer|ms-|0.4.1


</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
vscaac:30438847
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
89544117:30613380
2i9eh265:30646982
showlangstatbar:30737416
962ge761:30841074
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxptcf:30805731
pythonnoceb:30805159
copilotsettingc:30839828
asynctok:30821568
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572
dsvsc015:30829745

```

</details>

<!-- generated by issue reporter -->