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

Generate​UUID

by SublimeText ST2/ST3

Generate UUID for Sublime Text

Details

  • 2016.09.06.01.04.13
  • github.​com
  • github.​com
  • 1 year ago
  • 1 hour ago
  • 6 years ago

Installs

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

Readme

Source
raw.​githubusercontent.​com

Generate UUID package for Sublime Text

Helper script to generate a UUID v4. Can be executed via keyboard shortcut Ctrl+Shift+U (Windows, OSX, and Linux) and or via the menu item Tools >> Packages >> Generate UUID v4.

Ctrl+Shift+Y' will generate short version of UUID

Installation

The best way to install this bundle and keep up to date is to install it via Package Control. Once you have installed Package Control, open it via Preferences >> Package Control and click on Package Control: Install Package. Type GenerateUUID into the search box, then hit enter or click on the result to install.

Using Git

If you are a git user, you can clone the repo directly into your Packages directory in the Sublime Text application settings area. Go to your Sublime Text Packages directory and clone the repository using the command below:

git clone https://github.com/SublimeText/GenerateUUID "GenerateUUID"

Download Manually

  • Download the files using the GitHub .zip download option
  • Unzip the files and rename the folder to Generate UUID
  • Copy the folder to your Sublime Text Packages directory

Preferences

To enable uppercase UUIDs, put the key "uuid_uppercase": true in your Packages/User/Preferences.sublime-settings file (accessible via the Preferences >> Settings - User menu option). If this key is not present, or is set to any other value, UUIDs will be generated in lowercase as before.

Autocomplete

  • uuid + TAB - generates UUID v4 (B50EC8D3-253A-43EC-A285-35FC5BCA7A93)
  • uuid1 + TAB - generates UUID v1 (BFC77674-58AA-11E3-BE8D-8438355C18E4)
  • uuids + TAB - generates UUID v4 short (D917AE5675F54258B4ECF439329F67C9)
  • uuid1s + TAB - generates UUID v1 short (D63D476E58AA11E389668438355C18E4)
  • 0xuuids + TAB - for all above possible options we can add a prefix 0x which generates specific UUID with '0x' in front of