Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>indexeratorNew to Visual Studio Code? Get it now.
indexerator

indexerator

hemo

|
933 installs
| (2) | Free
This vscode extension create index file in current directory to export everything from it
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

indexerator

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!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft