Skip to content

orestesgaolin/dart-export-index

 
 

Repository files navigation

Dart Barrel Export File Generator

VS Code Extension

Features

Usage

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

Extension Settings

Usage

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

Source code available on GitHub.

This is a fork of create-index.

About

VS Code extension to manage Dart export files (e.g. index.dart)

Resources

Stars

Watchers

Forks

Languages

  • TypeScript 86.1%
  • JavaScript 13.9%