News for hackers. Stuff that matters.
Re:Show HN: CodeBuff – smart code formatter by Hydraulix989 on Monday September 19, 2016 @02:42AM (#12529443)
How does this improve over VSCode's golang formatting (which I think is excellent)?
Re:Show HN: CodeBuff – smart code formatter by jurgenv on Monday September 19, 2016 @02:55AM (#12529496)
It'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.

Re:Show HN: CodeBuff – smart code formatter by majewsky on Monday September 19, 2016 @07:37AM (#12530518)
Golang formatting is mostly a solved problem because the community has agreed on whatever gofmt produces.