IntelliJ plugin for inserting random data
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
config
gradle/wrapper
src
.gitattributes
.gitignore
.travis.yml
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md


Randomness

Release Documentation
Travis build status Codacy grade Codacy coverage

Rather than going to random.org or making up your own random data, you can now insert random data using an IntelliJ action!

This plugin is also available on the plugin repository.

How to use

String settings

To insert random data, press Alt + R (or ⌥R) and choose the type of data you want to insert. Hold Shift while selecting a data type to insert a whole array of values, or hold Ctrl (or ) while selecting to change the settings of that data type.

Features

Data types

There are five types of data that can be inserted:

  1. Integers, such as 7,826,922
  2. Decimals, such as 8,816,573.10
  3. Strings, such as "PaQDQqSBEH"
  4. Words, such as "Imporous"
  5. UUIDs, such as 0caa7b28-fe58-4ba6-a25a-9e5beaaf8f4b

In addition to these data types, it's also possible to generate entire arrays of a data type. For example, an array of integers might look like [978, 881, 118, 286, 288].

Settings

The way the data is generated can be adjusted to your demands. For example, you can select the smallest integer to generate, the quotation marks to surround strings with, the number of elements to put in an array, or the decimal separator to use for decimals.

Dictionaries

Randomness is bundled with a small English dictionary from which it chooses random words. However, you may want to add words from another language or add a small selection of relevant words. Therefore, you can register your own dictionary files with the word generator and select which dictionaries it should pick words from. You can make your own dictionary file by creating a text file and putting one word on each line, and saving the file with the .dic extension.

Dictionary settings