indexerator
Features
- vscode index generator.
vscode extension that auto generate index.ts
or index.js
file that export all current folder
File name can be change in settings.
Example:
"indexerator.exportFileName": "public_api"
- you can change the quote style in the settings- default style is single quote
"indexerator.quote" : "double"
or
"indexerator.quote" : "single"
project
│
└───folder1
│ │ file011.ts
│ │ file012.ts
It creates index.ts
project
│
└───folder1
│ │ file011.ts
│ │ file012.ts
| | index.ts
and index.ts will look like:
export * from './file011';
export * from './file012';
export * from './file011';
Right click on a folder in your project and you'll get the 'indexerator' option
Known Issues
No bugs, feel free to report on bugs or create a PR that fix it.
Release Notes
Fixed- Extension crashes on empty folders.
Changelog
created by Aviad Hemo.
Enjoy!