Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Array Index InlayNew to Visual Studio Code? Get it now.
Array Index Inlay

Array Index Inlay

Anthony Fu

|
1,301 installs
| (0) | Free
| Sponsor
Inlay hints for index of large arrays
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Array Index Inlay VS Code

Visual Studio Marketplace Version Made with reactive-vscode

Show array index inlay hints for large arrays.

Screenshot

Configs

Key Description Type Default
arrayIndexInlay.enabled Enable inlay hints boolean true
arrayIndexInlay.minLength Minimum length of array to show inlay hints number 15
arrayIndexInlay.minLines Minimum lines of array to show inlay hints number 30
arrayIndexInlay.startIndex Start index of the array, default to 0 number 0
arrayIndexInlay.allowSpread Show inlay hints even there are spread operators in the array boolean false
arrayIndexInlay.colorizeDepth Colorize the inlay hints based on the depth of the array. Colors can be customized with arrayIndexInlay.depthColors boolean false
arrayIndexInlay.depthColors Custom colors for each level of the array. Supports CSS color formats. Select an equal number of colors to your bracket colors to get the best results. array See package.json

Supported Languages

  • JavaScript
  • TypeScript
  • JSX
  • TSX
  • JSON / JSONC / JSON5
  • Vue
  • Svelte
  • Astro

Sponsors

License

MIT License © 2022 Anthony Fu

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