google / google/google-java-format

Consider support for tab-based indent, if only programmatically

Offen
#1,320 9 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
6.2k
Forks
937
Ø Merge
6 Min.
Gemergte PRs (30 T.)
3

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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