You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
export Quick-fix should include Create file 'path' #3269
Is your feature request related to a problem? Please describe.
With the part/part of ; directive quick fix feature, I sometimes expect the export directive to also have Create file 'path'; option in its quick fix menu.
Describe the solution you'd like
When the target URI doesn't exist (uri_does_not_exist) for an export directive, there should be a quick fix option: Create file 'path'.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
@bwilkerson do you see any reason not to support this for export as well as import? I'm not sure if it's deliberate or accidental (the use of ImportDirectivehere versus NamespaceDirective).
Activity
DanTup commentedon Jun 9, 2021
@bwilkerson do you see any reason not to support this for
exportas well asimport? I'm not sure if it's deliberate or accidental (the use ofImportDirectivehere versusNamespaceDirective).bwilkerson commentedon Jun 9, 2021
I believe it's an oversight.
[analyzer] Enable create-file fix for export directives
DanTup commentedon Jun 10, 2021
This is fixed by dart-lang/sdk@419fd67 which will be included in a future Dart/Flutter SDK release.