ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Random Everything

by kimpettersen ST2/ST3 Trending

Plugin for sublime text to generate random, ints, floats, strings and words

Details

  • 2016.08.20.12.39.13
  • github.​com
  • github.​com
  • 5 months ago
  • 24 minutes ago
  • 3 years ago

Installs

  • Total 9K
  • Win 4K
  • OS X 3K
  • Linux 2K
Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4
Windows 1 11 14 9 7 8 5 10 8 14 7 7 6 8 9 8 8 2 0 8 8 12 12 5 3 8 7 11 10 4 7 3 5 11 10 8 10 5 8 8 11 10 10 12 4 7
OS X 0 7 9 2 2 3 4 8 4 7 4 7 5 2 7 6 4 1 3 8 2 5 5 1 4 2 2 5 2 8 4 1 0 9 6 7 7 6 3 4 5 6 4 2 1 2
Linux 0 5 4 3 4 5 2 6 5 5 1 4 5 1 4 3 2 5 1 3 3 2 2 5 2 2 3 3 5 1 4 2 2 4 3 3 1 6 1 1 5 4 6 2 2 2

Readme

Source
raw.​githubusercontent.​com

random-sublime-text-plugin

Plugin for sublime text to generate random, ints, floats, strings and words.

It works in Sublime Text 2 and ST3

Example

Example

Usage

This plugin can only be accessed through the Cmd/Ctrl+Shift+P command.

Type random and you get the following choices:

  • Random:Int - requires a range from a-b separated with a: -. Default: 1-100
  • Random:Float - requires a range from a-b separated with a: -. Default: 1-100
  • Random:Letters - generatates a random string of lower and upper -case letters with a length between 3 and 17
  • Random:Letters and numbers - generatates a random string of lower and upper -case letters and numbers with a length between 3 and 17
  • Random:Country - picks a random country
  • Random:Word - picks a random word from /usr/share/dict/words
  • Random:Text - picks 24 random words from /usr/share/dict/words
  • Random:Date - picks a random ISO-8601 Date
  • Random:First name - picks a random first name from the built-in datafile
  • Random:Last name - picks a random last name from the built-in datafile
  • Random:Full name - picks a random full name from the built-in datafiles
  • Random:E-mail - picks a random E-mail address
  • Random:Url - generates a URL using random words from /usr/share/dict/words
  • Random:Hex Color - generates a random hex color formatted “#abc123”
  • Random:IPv4 Address - generates a random ipv4 ip address
  • Random:IPV6 Address - generates a random ivp6 ip address

Overridable Settings

Random: E-Mail

  • random_email_top_level_domain_override - Allows overriding available email TLDs e.g. ["com","org"]. Defaults are ["com", "net", "co.uk", "org", "edu"]
  • random_email_main_domain_override - Allows overriding of available email main domains e.g. ["gmail","yahoo", "hotmail"]. If not specified, a random string will be used.

  • max_year and min_year defines a date range

Complete Settings Example

{
    "random_email_top_level_domain_override": ["com", "net", "co.uk", "org", "edu"],
    "max_year": 2000,
    "min_year": 1999
}