Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>AutoFill ArraysNew to Visual Studio Code? Get it now.
AutoFill Arrays

AutoFill Arrays

civAnimal

|
2,170 installs
| (0) | Free
Fill arrays and other collections quickly and easily. Works in all popular languages.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AutoFill Arrays For VS Code

This plugin allows you to fill Arrays with lists of interesting/meaningful words or numbers by typing just a few keys. You have a choice to pick from several available categories. It works equally well in all mainstream programming languages, like Python, Javascript, Java, C, C++, C#, Lua, Ruby, etc. You could also use it with other array-like collection objects/types, like List, Set, Tuple, etc.

DEMO

Available Categories

Flowers, Fruits, Colors, Birds, Animals, Gems, Directions, Insects, Fish, Foods, Drinks, Months, Days, Vegetables, Planets, Elements, Metals, Greeks, Romans, Trees, Languages, Oceans, Seas, Rivers, Seasons, Zodiacs, Numbers

Examples

Text Entered Result
flwa "Rose", "Dahlia", "Magnolia", "Tulip", "Daisy"
frua "Apple", "Mango", "Avocado", "Cherry", "Pomegranate"
bira "Dove", "Eagle", "Raven", "Penguin", "Owl"
fisa "Shark", "Whale", "Dolphin", "Salmon", "Trout"
trea "Oak", "Maple", "Pine", "Sycamore", "Willow"
colp "Red", "Yellow", "Blue"
colr "Red", "Orange", "Yellow", "Green", "Blue", "Indigo", "Violet"
elma "Hydrogen", "Helium", "Lithium", "Beryllium", "Boron"
numof 371, 373, 375, 377, 379, 381, 383, 385, 387, 389
numpre 101, 103, 107, 109, 113, 127, 131, 137, 139, 149

Tips

  • Type only a few letters of the desired category. If you don't see VS Code's AutoComplete System responding to your typing, then you could activate it manually by pressing ctrl + space.

  • Most categories comprise several short (5 elements) and long (>= 10 elements) lists. Explore them and incorporate them in your workflow accordingly.

  • With a combination of few key-strokes, you could construct quite long lists within a matter of seconds.

Installation

  • From VS Code press ctrl + shift + x or do : View → Extensions to open Extensions panel.
  • Search for the extension: AutoFill Arrays and install it.

Notes

  • Most of the data has been sourced, with thanks, from https://www.wikipedia.org
  • Released under ... Creative Commons License (CC BY-SA).

Feedback & Comments

  • Email: civanimal@gmail.com
  • Twitter: civAnimal

Copyright (c) 2021 civAnimal

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