grpc / grpc/grpc-java

Recommended IntelliJ code style settings are out of date

オープン
#617 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
help wanted
主要言語
Java
スター
12.1k
フォーク
4k
平均マージ
2日 17時間
マージ済み PR(30日)
37

説明

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`.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start with Contributing.md and the recommended GoogleStyle code style settings XML, then compare its IntelliJ import layout and method wrapping options with the project's checkstyle and prevailing gRPC style. Done means the recommendation and settings consistently describe the intended import order and method argument or parameter wrapping.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
developer-experience, tooling
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。