Bob Nystrom
Bob Nystrom
@dtonhofer is correct that `Iterable.map()` and the other similar methods return lazy collections. That means that the callback you pass isn't executed until the resulting Iterable is actually iterated. And...
It's worth noting that the reason that other tools run `pub get` and then use the resulting package_config.json file is because that specifies the language version of not just the...
OK, we talked about this in the language meeting this morning. We decided that the formatter will do Lasse's second suggestion. It will walk surrounding directories looking for either a...
OK, here is an annoying wrinkle. Let's say you have a pair of packages like: ``` shared_stuff/ lib/ analysis_options.yaml containing: | formatter: | page_width: 100 my_app/ pubspec.yaml containing: | environment:...
> Changing one constraint can lead to including a different version of the imported `analysis_options.yaml` file, and a completely different formatting of the entire repo. Fun times! I did think...
I'm definitely interested in some better syntax in this area, yes. The main challenges that I know of are: * Users have also requested static nested classes (#336). I think...
No current plans. I think we are interested in the feature, but there are higher priority issues we are working on.
I'm going to transfer this over to the build repo because I suspect that the solution here is more likely to be in the build_runner integration than in dart_style itself....
Thanks. It looks like the formatter is reordering those comments somehow. I must admit that the input code is pretty wild, but it should still handle it gracefully.
Good question! Personally, I still think Dart code looks best at 80 columns, and having that page width encourage users to use concise names and not create hugely nested expressions....