Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notebook variables view should handle very long lists #203060

Closed
Tracked by #203480
amunger opened this issue Jan 22, 2024 · 1 comment · Fixed by #207364
Closed
Tracked by #203480

notebook variables view should handle very long lists #203060

amunger opened this issue Jan 22, 2024 · 1 comment · Fixed by #207364
Assignees
Labels
insiders-released Patch has been released in VS Code Insiders notebook-variables polish Cleanup and polish issue verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@amunger
Copy link
Contributor

amunger commented Jan 22, 2024

viewing a very long list in the variables viewer will not show all entries.

aLongList = []
for i in range(1000000):
    aLongList.append('listEntry' + str(i))

debug variables view handles this with nested groups:
image

@amunger amunger self-assigned this Jan 22, 2024
@amunger amunger added the polish Cleanup and polish issue label Jan 22, 2024
@vscodenpa vscodenpa added the unreleased Patch has not yet been released in VS Code Insiders label Mar 11, 2024
@vscodenpa vscodenpa added this to the March 2024 milestone Mar 11, 2024
@vscodenpa vscodenpa added insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Mar 12, 2024
@amunger amunger added the verification-needed Verification of issue is requested label Mar 22, 2024
@amunger
Copy link
Contributor Author

amunger commented Mar 22, 2024

verification steps:

  1. enable the notebook variable view with "notebook.experimental.variablesView": true
  2. run the cell
aLongList = []
for i in range(1000000):
    aLongList.append('listEntry' + str(i))
  1. open the variable view in the debug sideview
  2. spot check that the children of the aLongList variable are accurate

@rzhao271 rzhao271 added the verified Verification succeeded label Mar 26, 2024
@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
insiders-released Patch has been released in VS Code Insiders notebook-variables polish Cleanup and polish issue verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants