Re:Show HN: CodeBuff – smart code formatter
by timhwang21 on Monday September 19, 2016 @10:31AM
(#12531706)
If you're interested, Google Research recently published a paper about code formatting via dynamic programming: http://static.googleusercontent.com/media/research.google.co...
Re:Show HN: CodeBuff – smart code formatter
by parrt on Monday September 19, 2016 @11:43AM
(#12532278)
Interesting, though it is a framework very similar to previous work using Box combinations. Here, we don't require any work from a language expert. We simply sniff your project, and then make new files look like those. Handling a new language requires no coding.
The difficulty is tying it to a particular language's parser and whitespace rules.