-
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.
When using part directives in Dart, Dart-Code offers one of my favorite quick fix features with Create file '<path>'. The file is created as expected, but doesn't populate the part of ; directive in the created file.
First file: foo.dart
part 'bar.dart';Created file: bar.dart
part of ; // not filledDescribe the solution you'd like
When using the 'Create file' quick fix feature, the created file should be populated with the relative path of the source file.
First file: foo.dart
part 'bar.dart';Created file: bar.dart
part of 'bar.dart';Describe alternatives you've considered
As far as I've noticed, the feature only produces with the "unfilled" path behavior.
Additional context
Current behavior:
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.


