add `scope` setting for module placement and identifier queries
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Start by locating Settings, into_codespace(), and the identifier query APIs, then trace how scope is currently passed through them. Check existing tests for module placement and scoped identifier queries; done means a setting controls placement and serves as the default query scope, while an explicit per-query scope still overrides it. The issue does not name specific files or tests, so identifying the relevant test coverage will take some repository exploration.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Every identifier query takes a scope argument, and a consumer whose types live in a module passes the same one on every call (progenitor passes "types" everywhere). Separately, into_codespace() decides where the types go. Nothing keeps the two in agreement.
We could add a scope field in Settings: into_codespace() honors it for module placement, and identifier queries default to it, so it's set once and the two can't disagree. The per-query scope argument stays as an override, since progenitor generates code both inside and outside the types module and needs the prefixed and unprefixed forms both; the setting only makes the common case implicit.
- Ngôn ngữ chính
- Rust
- Star
- 4
- Fork
- 4
- Merge trung bình
- 15 giờ 16 phút
- Pull request đã merge (30 ngày)
- 26
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của oxidecomputer/typespace
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 57/100
oxidecomputer/typespace#68 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
add a setting to annotate generated types with its idCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 1/100
oxidecomputer/typespace#45 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 36/100
oxidecomputer/typespace#44 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
oxidecomputer/typespace#43 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
oxidecomputer/typespace#41 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của oxidecomputer/typespace
Issue tương tự
-
[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copiedĐang mởunconfirmed possible issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jerney-nexus/epikrise#364 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Yeachan-Heo/gajae-code#8058 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug daemon
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày