Insert random numbers, UUIDs, names, IP addresses, and much more using an IntelliJ action.
To insert random data, press Alt + R (or ⌥R) to open the list of available templates and chooseone that suits your task.By default, a different value is inserted at each caret.
🕸 Data Types
There are six basic data types that can be inserted and customised:
- Integers, such as 7,826,922, from a custom range, in any base from binary to hexatrigesimal.
- Decimals, such as 8,816,573.10, using customisable separators.
- Strings, such as "PaQDQqSBEH", with support for reverse regex.
- Words, such as "Bridge", with predefined or custom word lists.
- UUIDs, such as 0caa7b28-fe58-4ba6-a25a-9e5beaaf8f4b, with or without dashes.
- Date-times, such as 2022-02-03 19:03, or any other format you want.
🧬 Templates
For complex kinds of data, you can use templates.A template is a list of data types that should be concatenated to create random data.Insert
phone numbers,
email addresses,
URLs,
IP addresses, or any
custom data typeyou can think of.Of course, Randomness comes bundled with a whole array of predefined templates to help you out.If needed, you can reuse a template by including it in another template using a
reference.
🗃️ Arrays
Need a lot of data?Insert an
entire array of any template you want.For example, an array of integers might look like [978, 881, 118, 286, 288].You can customise the brackets, delimiter, and number of elements to your liking every time you insert an array,because no two arrays are the same.
⌨ Shortcuts
Instead of using up all your shortcuts, Randomness only uses the Alt + R (or ⌥R) shortcut bydefault.However, to
streamline your workflow, you can assign shortcuts to any template under your IDE's Keymapsettings.
💨 Fast insertion
The insertion popup (shown when you press Alt + R (or ⌥R) by default) is
searchable:Just type something in the popup and relevant templates will be filtered out.Or use the
hotkeys that are assigned to the first 10 templates in the list:Press any digit to directly insert the corresponding template.
Reorder templates in the settings menu to change which template uses which hotkey.
👀 Previews
To
help you decide what settings to choose, a preview of the template is shown while you're editing.