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

daemon command to display the file and line/column of the place where a symbol is defined

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python

調査の方向性

dmypy コマンドのエントリーポイントから開始し、シンボル定義とソース位置がデーモンを通じてどのように利用できるかを追跡します。プレーンテキスト形式と --json 形式をどのように表現するか決める前に、既存のコマンドとレスポンスの規約を確認してください。完了の条件は、2 つの例示された検索形式の両方が、シンボルの元の定義範囲を返すことです。

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

説明

feature

Feature

I'd like to see a dmypy command (e.g. dmypy find fully.qualified.name or dmypy find /path/to/file:line:column:end_line:end_column) that then displays the /path/to/file:line:column of the original definition of a symbol.

Pitch

This is primarily motivated by enabling deeper editor integrations to allow jumping to a definition in the same file or another file. The output would simply look like

dmypy find builtins.int
/path/to/site-packages/mypy/typeshed/stdlib/builtins.pyi:254:0:362:57
dmypy find builtins.int --json
{"file": "/path/to/site-packages/mypy/typeshed/stdlib/builtins.pyi", "line": 254, "column": 0, "end_line": 362, "end_column": 57}

and the editor would parse the output to allow jumping to the definition.

主要言語
Python
スター
20.6k
フォーク
3.3k
平均マージ
1日 3時間
マージ済み PR(30日)
59

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

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

はじめの一歩

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

python/mypy のほかの issue

python/mypy の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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