Configure variables view presentation of `len()`
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing the issue's existing variablePresentation configuration and how the automatic len() entry appears in the variables view. Determine whether the requested behavior belongs in this project or in the surrounding debugger client. Done means a clearly specified, supported configuration for the requested presentation behavior.
Written by the indexing model from the issue text.
Description
So there is "variablePresentation" to configure hiding/grouping etc función kinds.
Note that there is no global way to set it yet https://github.com/microsoft/vscode-python-debugger/issues/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.
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):
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!
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 202
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/debugpy
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
All issues in microsoft/debugpy
Similar issues
-
area: harness bug status: needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Human-Agent-Society/reef#625 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
learningequality/kolibri#15351 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Name consistency Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
eellak/triplestore#65 · 1 comment ·