mikededo / dartBarrelFileGenerator

VSCode extension that generates barrel files for Dart projects
MIT License
25 stars 9 forks source link

feat!: generate current with subfolders #59

Closed mikededo closed 2 years ago

mikededo commented 2 years ago

A new option has been added that allows the user to add a single barrel file that includes all the files from the parent and all parent subfolders' files. For example, the following layout:

widgets
├── button.dart
├── card.dart
└── widget_model
    ├── model.dart
    └── model_data.dart

Will generate the following barrel file at the widgets folder, without adding any other barrel file:

export 'button.dart';
export 'card.dart';
export 'widget_model/model.dart';
export 'widget_model/model_data.dart';

Closes #56