Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Configure variables view presentation of `len()`

オープン
#1,581 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
devtools

調査の方向性

まず、issue に既存の variablePresentation 設定と、変数ビューに自動の len() エントリがどのように表示されるかを確認します。要求された動作がこのプロジェクトに属するのか、それとも周辺のデバッガークライアントに属するのかを判断します。要求された表示動作について、明確に仕様化され、サポートされた設定が定義されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.
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!

主要言語
Python
スター
2.5k
フォーク
202
平均マージ
5日 1時間
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/debugpy のほかの issue

microsoft/debugpy の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。