Regression in 2.6.0
Maintainer thường phản hồi trong vòng 2 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
- 45/100
Hướng nghiên cứu
Tái hiện hồi quy định dạng bằng đầu vào Java được cung cấp và --print-width 120, sau đó kiểm tra thay đổi từ pull request 632 và commit grpc-bidi được tham chiếu. Hoàn thành khi formatter nhất quán tạo ra một trong hai bố cục dấu ngoặc đóng dự kiến và hồi quy được bao phủ bởi một kiểm tra có thể tái hiện.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Prettier-Java 0.6.0
# Options (if any):
--print-width 120
It looks like https://github.com/jhipster/prettier-java/pull/632 , despite being a great improvement overall, introduced a regression when the first method call needs to be multi-line due to long arguments, leading to a closing ) misaligned.
Input:
public static final MethodDescriptor<ByteBuf, ByteBuf> NEW_TUNNEL_METHOD = MethodDescriptor
.newBuilder(ByteBufMarshaller.INSTANCE, ByteBufMarshaller.INSTANCE)
.setFullMethodName(TUNNEL_SERVICE + "/new")
.setType(MethodDescriptor.MethodType.BIDI_STREAMING)
.build();
Output:
public static final MethodDescriptor<ByteBuf, ByteBuf> NEW_TUNNEL_METHOD = MethodDescriptor.newBuilder(
ByteBufMarshaller.INSTANCE,
ByteBufMarshaller.INSTANCE
)
.setFullMethodName(TUNNEL_SERVICE + "/new")
.setType(MethodDescriptor.MethodType.BIDI_STREAMING)
.build();
Expected behavior:
public static final MethodDescriptor<ByteBuf, ByteBuf> NEW_TUNNEL_METHOD = MethodDescriptor
.newBuilder(ByteBufMarshaller.INSTANCE, ByteBufMarshaller.INSTANCE)
.setFullMethodName(TUNNEL_SERVICE + "/new")
.setType(MethodDescriptor.MethodType.BIDI_STREAMING)
.build();
Alternative expected behavior:
public static final MethodDescriptor<ByteBuf, ByteBuf> NEW_TUNNEL_METHOD = MethodDescriptor.newBuilder(
ByteBufMarshaller.INSTANCE,
ByteBufMarshaller.INSTANCE
)
.setFullMethodName(TUNNEL_SERVICE + "/new")
.setType(MethodDescriptor.MethodType.BIDI_STREAMING)
.build();
See https://github.com/bsideup/grpc-bidi/commit/bd351342e59ed4be2ad6f18e32f174978f0c7c02
- Ngôn ngữ chính
- Java
- Star
- 1.2k
- Fork
- 123
- Merge trung bình
- 2 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 35
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 jhipster/prettier-java
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
jhipster/prettier-java#1113 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 56/100
jhipster/prettier-java#1114 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Text block containing a comment-like line with " or \ fails with "Comment was not printed"Có thể đã có người làm @sean0407 đã nhận 2 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 66/100
jhipster/prettier-java#1112 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
JEP 401 Support value keywordĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
jhipster/prettier-java#1031 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Adds needlessly parenthesesCó thể đã có người làm @braxtonzhangio đã nhận 74 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 67/100
jhipster/prettier-java#1001 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của jhipster/prettier-java
Issue tương tự
-
Optimize consumer version heatmap aggregation to avoid repeated scansCó thể đã có người làm @praykaria31 đã nhận hôm nay. Đang mởtype/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Apicurio/apicurio-registry#10662 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
a:false-positive
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
status: waiting-for-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
spring-projects/spring-boot#52347 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
opensearch-project/opensearch-migrations#3480 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug] Certificate expiry sorting can reverse UTC order across a viewer daylight-saving gapCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
apache/rocketmq-dashboard#7318 ·
Maintainer thường phản hồi trong vòng 3 ngày