Recommended IntelliJ code style settings are out of date
- Ngôn ngữ chính
- Java
- Star
- 12.1k
- Fork
- 4k
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 37
Mô tả
I downloaded and imported the GoogleStyle code style settings xml, as recommended in Contributing.md. It doesn't seem like this project and its checkstyle are actually conforming to those style settings (which is fine, I like the prevailing gRPC style better!) A few things in particular keep coming up:
- Import order: GoogleStyle has static imports at the bottom, doesn't separate grpc imports. This is configured in `Code Style > Java > Imports > Import Layout`.
- Method argument wrapping: GoogleStyle has method call arguments and declaration parameters on the next line aligned to the opening paren. This is configured in `Code Style > Java > Wrapping and Braces > Method declaration parameters > Align when multiline`, as well as the same option under `Method call arguments`.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với Contributing.md và XML cài đặt kiểu mã GoogleStyle được khuyến nghị, sau đó so sánh bố cục import của IntelliJ và các tùy chọn xuống dòng phương thức của nó với checkstyle của dự án và kiểu gRPC đang được sử dụng phổ biến. Được xem là hoàn thành khi khuyến nghị và các cài đặt mô tả nhất quán thứ tự import dự kiến cũng như cách xuống dòng đối số hoặc tham số phương thức.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- developer-experience, tooling
- Loại issue
- Tài liệu
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100