Bob Nystrom

Results 973 comments of Bob Nystrom

@jacob314, do you remember anything about the node integration of dartfmt?

The dart_style package doesn't support being compiled to JavaScript anymore. (Users are certainly welcome to do so on their own, of course. But the package itself doesn't support it.)

> Is there a reason why dartfmt adds this newline in on multi-line arrow functions? Yeah, this followed the prevalent hand-formatted style that I found in the wild when first...

Yes, some of the Flutter folks aren't using dartfmt. > How do we get this added to dartfmt? It's not about *adding* it, it's about *changing* how it currently formats...

No, I don't know how to resolve it. > I'm wondering if the community would benefit from a Flutter version of dartfmt? The primary value of a formatter is having...

> if an arrow function returns a class Dartfmt doesn't know whether or not it's returning a class since it doesn't do any type analysis. But I *do* think it...

No, there's no reason to split on that at all since it fits on one line. (Sorry, the "*if* it needs to split" part was implicit in my description above.)...

I'm going to close this as working as intended. I've gone through a lot of code, especially in the Flutter repo, to design the new tall style and there seems...

I'm not sure if we want to do this one, unfortunately. In general, dartfmt only does indentation at the beginning of lines and doesn't otherwise try to align intra-line content....

(Oops, didn't mean to click "Close".)