Skip to content

export Quick-fix should include Create file 'path' #3269

@Luckey-Elijah

Description

@Luckey-Elijah

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.

Additional context

No Create file 'bar.dart;' in Quick Fix menu.

Screen Shot 2021-04-09 at 7 01 53 PM

But should create a file like:
Screen Shot 2021-04-09 at 7 04 00 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serveris enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions