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

Configure variables view presentation of len() #1581

Open
dimateos opened this issue May 10, 2024 · 0 comments
Open

Configure variables view presentation of len() #1581

dimateos opened this issue May 10, 2024 · 0 comments

Comments

@dimateos
Copy link

So there is "variablePresentation" to configure hiding/grouping etc función kinds.

Note that there is no global way to set it yet microsoft/vscode-python-debugger#165, but it can be done per launch config.

I was wondering if there was a way to configure the automomatic call to len() that appears at the end.
image

Something like:

  • Hiding it, i.g. reduce vertical space usage for many small lists
  • Moving it at the top, i.e. making it visible without having to open the collapsible region
  • Or a bit more involved config:
    • Showing it only when the full list of elements are hidden (over 100... etc) (bwt can this amount shown be configured?)
    • Move it to the top, but when the variable is expanded hide it from the list and replace the text next to the variable name (reduce redundant data):
      image

Probably there are other functions similar to len() that get called but I cannot recall right now.
So I guess those could be affected by these options too.

Best regards!

@judej judej assigned debonte and unassigned debonte Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants