Show constructor signatures on state machine transitions

Đang mở
#112 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java, typescript
Lĩnh vực
devtools

Hướng nghiên cứu

Start by locating the state machine diagram rendering and the code that creates transitions from the initial node. Check how existing precondition and postcondition labels are produced, then add constructor signatures with parameter types while preserving those labels; done means overloaded constructors leading to the same state are distinguishable in the diagram.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The state machine diagram shows transitions from the initial node to the resulting state, but it does not show which constructor produces each transition. This makes it hard to understand classes whose constructors lead to different states.

Image

Label each initial transition with its constructor signature, for example new ClassName(type, type). Show parameter types so overloaded constructors can be distinguished, including when they lead to the same state. Keep the existing precondition and postcondition display available.

Expected result: Looking at the diagram, a user can tell which constructor leads to each initial state.

Ngôn ngữ chính
TypeScript
Star
6
Fork
1
Merge trung bình
14 giờ 6 phút
Pull request đã merge (30 ngày)
32

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của liquid-java/vscode-liquidjava

Tất cả issue của liquid-java/vscode-liquidjava

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.