-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: devtoolsDevTools related - suite of performance and debugging toolsDevTools related - suite of performance and debugging toolsa: internationalizationSupporting other languages or locales. (aka i18n)Supporting other languages or locales. (aka i18n)c: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to FluttertoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.waiting for PR to land (fixed)A fix is in flightA fix is in flight
Description
Usually, it is needed to maintain a single code style in the project, including formatting.
This lead us to use dart format tool in order to keep the code base formatted properly and in a readable state.
The problem is that output files, that are generated by flutter gen-l10n are not formatted, which is leading to conflicts and inconsistency.
One of the possible solutions is to exclude these generated files from formatting, but here you can see that this feature is not planned (yes, we can find some slow workarounds for this, but it is not worth it).
Unfortunately, I am still not too close to contributing to Flutter, so I would like to ask to add a built-indart format call after files generation.
bartekpacia, shilangyu, lewandowski-jan, johnynov and VladyslavValujskyj
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: devtoolsDevTools related - suite of performance and debugging toolsDevTools related - suite of performance and debugging toolsa: internationalizationSupporting other languages or locales. (aka i18n)Supporting other languages or locales. (aka i18n)c: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to FluttertoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.waiting for PR to land (fixed)A fix is in flightA fix is in flight