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

Generate​UUID

by SublimeText ST2/ST3

Generate UUID for Sublime Text

Details

Installs

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

Readme

Source
raw.​github.​com

Generate UUID package for Sublime Text

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

Super+Shift+Y' will generate short version of UUID (for Windows useCtrl+Shift+Y)

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