This extension includes following commands:
- Export Dart files in current directory export file
- export file name configurable in settings
- can be run recursively
- will create
export_file_name.dart
file exporting all the Dart files in the current directory e.g.widgets.dart
if run within widgets directory
- Export (add) current Dart file to export file (export file name configurable in settings)
- will add current file to
export_file_name.dart
in the current directory
- will add current file to
This extension contributes the following settings:
dartBarrelExportFileGenerator.exportFileName
: export file name (default:dir_name.dart
)dartBarrelExportFileGenerator.recursiveExport
: iterate through directories recursively to create global export file (default:false
)dartBarrelExportFileGenerator.ignorePatterns
: ignore files (glob patterns)
Source code available on GitHub.
This is a fork of create-index.