google / google/google-java-format

Plugin doesn't include Profile?

Offen
#260 1 Kommentar 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Eclipse
Vorherrschende Sprache
Java
Sterne
6.2k
Forks
937
Ø Merge
6 Min.
Gemergte PRs (30 T.)
3

Beschreibung

So I tried to get the plugin setup in Eclipse (neon 2) today. I tried both 1.3 (as is linked from the main README) and 1.5. With either of them I see the implementation added in `Window > Preferences > Java > Code Style > Formatter > Formatter Implementation`, however there isn't a profile added to the "Active Profile" dropdown (which means Eclipse's profile is left as default).

I opened a java class, autoformatted it, which used the google formatting (great). However, when I then added a new line it included a tab along with the spaces, when I press tab it actually tabs (vs. inserting spaces as indicated in the style)...

Also note when 1.5 is installed the implementation dropdown still shows 1.4.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.