2 ms·
How does this improve over VSCode's golang formatting (which I think is excellent)?
by Hydraulix989 10y ago
How does this improve over VSCode's golang formatting (which I think is excellent)?
- jurgenv 10y agoIt's language parametric, so it can work for any language you have a grammar for and a set of example files to train on. In this sense it helps the authors of formatting tools. For the users for a specific language it could also be an improvement since configuration of a formatter can be done via completely arbitrary code examples. But we have to work a bit further to streamline that use case.
- majewsky 10y agoGolang formatting is mostly a solved problem because the community has agreed on whatever gofmt produces.