google / google/google-java-format

Plugin doesn't include Profile?

Ouverte
#260 1 commentaire 2 réactions 0 personnes assignées Voir sur GitHub
Eclipse
Langage dominant
Java
Étoiles
6.2k
Forks
937
Merge moyen
6 min
PR mergées (30 j)
3

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.