Explore tree-sitter based structured editing
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reading the existing tree-sitter parsing and dependency graph code, then inspect how Stacklit builds and exposes stacklit.json. The issue proposes several possible editing approaches and leaves key design questions open, with no files or tests identified. Done means defining a concrete scope and deciding how node edits and cross-file updates should work.
索引モデルが issue の本文から書いたものです。
説明
From discussion #19 by @yunfan.
Stacklit already parses codebases with tree-sitter and builds dependency graphs. The next logical step is using those same parsed trees for structured code editing, locating a node by its tree-sitter path and replacing it with generated code.
What this could look like:
- Target a specific function/type/export by its tree-sitter path
- Replace or patch that node while preserving surrounding code
- Use stacklit's dependency graph to find cross-file call sites that need updating
Open questions:
- Tree-sitter gives syntax, not semantics. Cross-file renames need the dependency layer too.
- How to handle edits that change the tree structure (adding params, changing return types)
- Could work as a separate companion tool that reads stacklit.json for the graph
No timeline. Scoping for now.
- 主要言語
- Go
- スター
- 114
- フォーク
- 9
- 平均マージ
- 19時間 38分
- マージ済み PR(30日)
- 30
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
glincker/stacklit のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
glincker/stacklit#94 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
glincker/stacklit#74 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
glincker/stacklit#68 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
glincker/stacklit の issue をすべて見る
似ている issue
-
Query service sends an empty traceresponse header on untraced requests対応中かも @pingxin403 が今日担当しました。 オープンbug
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
jaegertracing/jaeger#10342 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
keyxmakerx/Chronicle#3048 ·
メンテナーはふだん 1 日以内に返信
-
triage/needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cozystack/cozystack#5590 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
meta
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
last9/last9-mcp-server#801 ·
メンテナーはふだん 1 日以内に返信