google / google/google-java-format

Plugin doesn't include Profile?

Aberta
#260 1 comentário 2 reações 0 responsáveis Ver no GitHub
Eclipse
Linguagem predominante
Java
Estrelas
6.2k
Forks
937
Merge médio
6min
PRs com merge (30d)
3

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Reproduzir a configuração no Eclipse Neon 2 usando as versões do plugin vinculadas no README e inspecionar as configurações Formatter Implementation e Active Profile. Verificar o perfil ausente, o comportamento misto de tabulação e o rótulo da versão; considera-se concluído quando o plugin expõe o perfil esperado e informa corretamente a versão da implementação instalada.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
java
Domínio
tooling
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.