alibaba / alibaba/p3c

Formatter eclipse-codestyle.xml issues

Open
#871 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
30.8k
Forks
8k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
eclipse-codestyle.xml 没有遵循阿里代码规范。主要有如下两处限制换行的问题。

**Expected behavior**
![image](https://user-images.githubusercontent.com/57028785/147717324-a3c58c1b-5085-4b19-8f2d-9d556ed89c4e.png)
![image](https://user-images.githubusercontent.com/57028785/147717421-a4ac961e-a03f-423b-9429-32d28962ff15.png)

**After formatting**
![image](https://user-images.githubusercontent.com/57028785/147717447-36da8ecc-f111-4fd9-9813-a5b908805e82.png)
![image](https://user-images.githubusercontent.com/57028785/147717437-7858666e-9397-4abe-b828-735aee26d5df.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting eclipse-codestyle.xml and compare its line-wrapping settings with the Alibaba coding guidelines and the four screenshots in the issue. Done means formatting no longer applies the two reported line-break restrictions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.