No format for tabular data
Not in all cases formatting of build data / code is required. Code can be written in a way which looks beautiful and easy to spot problem when maintained in tabular format using certain spacing between columns. Current implementation of buildfier results in loosing well formatted code( manually maintained) which has been needed in tabular code.
This seems to change the whitespace of nearly every line. Did your editor save tabs as spaces?
This seems to change the whitespace of nearly every line. Did your editor save tabs as spaces?
No such settings in my vim editor, which saves tabs as spaces.
However our own internal parser works with precision of spaces and all such tabular code need to be separated with spaces. In other words, no formatting from buildifier.
@aiuto ping for review request.
FWIW, we are using an internal version of #985. That patch needs to be rebased and reworked. Importantly for us it supports sorting by a particular column.
@pmbethe09 @larsrc-google @vladmos @aiuto
I am curious to know if anything is pending?