-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serverSomething to be fixed in the Dart analysis serveris enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.
Milestone
Description
Is your feature request related to a problem? Please describe.
Dart Code allows to create constructor for the final fields. It puts it by default below the fields.
Describe the solution you'd like
I would like to be able to customize position of the constructor when it's generated. It could be either set by the analyzer lint rule sort_constructors_first or by a switch in extension settings.
Describe alternatives you've considered
Manually moving constructor to the top of the class.
Additional context
There's a popular lint rule sort_constructors_first that enforces ordering constructor at the top.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serverSomething to be fixed in the Dart analysis serveris enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.
