3 ms·
The right way to solve all this tabs/spaces indentation mess would be to use Elastic Tabstops¹. 1) http://nickgravgaard.com/elastictabstops/ http://nickgravgaa
by teddyh 12y ago
The right way to solve all this tabs/spaces indentation mess would be to use Elastic Tabstops¹.
1) http://nickgravgaard.com/elastictabstops/ http://nickgravgaard.com/elastictabstops/
- f2f 12y agogofmt already uses elastic tabstops.
- teddyh 12y agoTo quote [1]: Not really. Elastic tabstops is about enabling variable width fonts to be used in text (and especially programming) while still lining up tabular columns. What gofmt does is to use spaces to align columns; a method described in http://nickgravgaard.com/elastictabstops/ http://nickgravgaard.com/elastictabstops/ as a "kludge". 1) https://groups.google.com/d/msg/golang-nuts/93t0LWvHrKM/y6oIIoEZmz0J https://groups.google.com/d/msg/golang-nuts/93t0LWvHrKM/y6oI...