google / google/google-java-format

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

Open
#361 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.2k
Forks
937
Avg merge
6m
Merged PRs (30d)
3

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.