google / google/google-java-format

Consider support for tab-based indent, if only programmatically

Aperta
#1,320 9 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
6.2k
Fork
937
Merge medio
6m
PR unite (30g)
3

Descrizione

I would like to produce formatting with tabs, and this is currently impossible to do due to internal modeling.

Tabs generally have a column-based width associated with them. I use two columns to achieve the same look as two space indent, for example. This allows the algorithms based on line length to still work correctly.

In output, however, spaces are hard coded to be used to represent indent values.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.