Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>TypeScript IndexerNew to Visual Studio Code? Get it now.
TypeScript Indexer

TypeScript Indexer

Rudi Jansen van Vuuren

|
502 installs
| (0) | Free
Auto indexes TS files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TypeScript Indexer

Generates an index file depending on the configuration.

  • You can export or import files from the index.
  • The order of the imports/exports can be determined.
  • Indexes are grouped according to their pattern.

Config indexer.config.json

You can create a new configuration file via the command: TS Indexer: Index Directory.

Property Description
output The file to write the indexes to. Default: './index.ts'
imports An array of patterns to match files to import.
exports An array of patterns to match files to export.
exclude An array of patterns to match files to exclude from imports and exports.

Commands

Command Description
Index Directory Indexes the directory or creates an indexer.config.json file.
Update Index Searches any parent directories for an indexer.config.json file and indexes the directory.
Index Executes the indexer against the indexer.config.json file.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft