google / google/google-java-format

//$NON-NLS-x$ notation broken in Eclipse formatter 1.6

未關閉
#361 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
6.2k
分支
937
平均合併
6 分鐘
30 天內合併 PR
3

描述

Take the simple class:

```
public class test {
public static void main(final String[] args) {
String myString = "someString"; //$NON-NLS-1$
}
}

```

Using "google-java-format-eclipse-plugin_1.6.0.jar", when formatted it converts:
`//$NON-NLS-1$`
To:
`// $NON-NLS-1$`

This is supposed to be fixed in issue #221, but doesn't appear to be...?

Am I missing something?

貢獻指南

開啟貢獻指南

研究方向

使用 google-java-format-eclipse-plugin_1.6.0.jar 和報告中所示的簡單 Java 類別重現格式變更。閱讀 issue #221 以了解預期的修正,並確認格式化會保留 //$NON-NLS-1$,而不會插入空格。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
tooling
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。