Repository navigation
Native REPL 'View as scrollable element' not working #25609
Copy link
Copy link
Closed as not planned
Labels
area-replbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugtriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Type: Bug
Behaviour
My output is too long and is getting truncated. However, clicking the "view as scrollable element" has no effect. Nothing happens. Also, trying open in a text editor throws this error: "The editor could not be opened due to an unexpected error. Please consult the log for more details.".
Steps to reproduce:
- Using the Native REPL, run this block:
for i in range(100):
print(i)
- Output will be truncated, try to view as scrollable element. Nothing happens.
Diagnostic data
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
[error] [Window] Error: Unable to resolve text model content for resource vscode-notebook-cell-output:Untitled-1.ipynb?openIn%3Deditor%26outputId%3D34883a1c-4e68-4df8-afbc-f0ececef4380%26notebookScheme%3Duntitled
at kYe.u (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1313:22470)
at async kYe.r (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1313:21500)
at async lAt.acquire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:27:3390)
at async xYe.createModelReference (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1313:22966)
at async S$.resolve (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:539:15383)
at async kwe.setInput (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:692:81101)
at async rJe.S (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:697:58520)
at async rJe.L (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:697:57080)
at async rJe.openEditor (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:697:56162)
at async vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:809:23355
https://github.com/user-attachments/assets/ed481225-bb13-4c5c-9a8e-7681fe7658ef
Extension version: 2025.18.0
VS Code version: Code 1.106.2 (Universal) (1e3c50d64110be466c0b4a45222e81d2c9352888, 2025-11-19T16:56:50.023Z)
OS version: Darwin arm64 25.1.0
Modes:
- Python version (& distribution if applicable, e.g. Anaconda): 3.13.9 (managed by
uv) - Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
- Value of the
python.languageServersetting: Default
User Settings
languageServer: "Pylance"
Installed Extensions
| Extension Name | Extension Id | Version |
|---|---|---|
| copilot-chat | Git | 0.33.2 |
| debugpy | ms- | 2025.16.0 |
| js-debug | ms- | 1.105.0 |
| js-debug-companion | ms- | 1.1.3 |
| python | ms- | 2025.18.0 |
| ruff | cha | 2025.30.0 |
| vscode-eslint | dba | 3.0.16 |
| vscode-js-profile-table | ms- | 1.0.10 |
| vscode-pylance | ms- | 2025.9.1 |
| vscode-python-envs | ms- | 1.12.0 |
System Info
| Item | Value |
|---|---|
| CPUs | Apple M1 (8 x 2400) |
| GPU Status | 2d_canvas: enabled direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: enabled_on trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | 2, 2, 2 |
| Memory (System) | 8.00GB (0.07GB free) |
| Process Argv | --crash-reporter-id cac200c9-d287-4320-86e9-bb6f7920cbc2 |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
aj953862:31281341
nes-set-on:31340697
testaa123cf:31335227
6abeh943:31336334
envsdeactivate2:31353495
c12345:31413568
gaj49834:31404438
cloudbuttont:31379625
todos-1:31405332
v66_all_req:31402695
control_gpt5applypatchexclusively:31412085
3efgi100_wstrepl:31403338
trigger-command-fix:31379601
auto_model_enabled:31385282
use-responses-api:31390855
defaultusage:31403421
auto_g2946222:31414244
je187915:31401254
ec5jj548:31422691
copilot-nes-oct-t:31418199
cmp-ext-treat:31422503
chatvisible:31420716
c0683394:31419495
g0h3h215:31423210
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-replbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugtriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Activity
hutch3232 commentedon Nov 24, 2025
Screen.Recording.2025-11-23.at.10.08.59.PM.mov
anthonykim1 commentedon Dec 1, 2025
Paul (@hutch3232) Thanks for the issue.
Can you also see if you can repro this on regular Jupyter notebook with ipykernel?
hutch3232 commentedon Dec 1, 2025
Just tried it by installing the Jupyter extension +
ipykernel. Then I selected my command and clicked "run in interactive window". I was able to click the view as scrollable element and it worked.With those things installed, I tried to repro with the Native REPL and it still occurred.
github-actions commentedon Jan 1, 2026
Hey Anthony Kim (@anthonykim1), this issue might need further attention.
Paul (@hutch3232), you can help us out by closing this issue if the problem no longer exists, or adding more information.
hutch3232 commentedon Jan 6, 2026
FWIW, I am also encountering this in the web version of VS Code within Azure ML Studio.
hutch3232 commentedon Jan 26, 2026
Hi Anthony Kim (@anthonykim1) - are there any additional tests / diagnostics I can run to help solve this one? I encounter it regularly in my day to day so unfortunately it's basically a blocker for me using the Native REPL.
hutch3232 commentedon Feb 13, 2026
Hi Eleanor Boyd (@eleanorjboyd), I feel like this legitimate issue got lost in the shuffle. Could we get a Milestone attached to it so that it's not lost? Feel like this is important to fix for viability of native REPL.
eleanorjboyd commentedon Feb 17, 2026
Anthony Kim (@anthonykim1) can best determine prioritization since this is REPL related. Thanks
github-actions commentedon Mar 20, 2026
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.
Happy Coding!
hutch3232 commentedon Mar 20, 2026
Anthony Kim (@anthonykim1) can we please reopen this issue? I think I've supplied requested info. Thanks!
github-actions commentedon Apr 20, 2026
Hey Anthony Kim (@anthonykim1), this issue might need further attention.
Paul (@hutch3232), you can help us out by closing this issue if the problem no longer exists, or adding more information.
github-actions commentedon May 20, 2026
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.
Happy Coding!
hutch3232 commentedon May 20, 2026
Can we please reopen this issue? Maybe we can remove the info needed tag because I believe I have provided all requested information and I think this is easily reproducible.