Generate UUID for Sublime Text
Python JavaScript
Latest commit f4810b9 Sep 5, 2016 @FichteFoll FichteFoll committed on GitHub Merge pull request #8 from colinta/patch-1
Changes default keybinding from "super+shift+[uy]"
Permalink
Failed to load latest commit information.
Default (Linux).sublime-keymap Rewrite generate_uuid command Jun 2, 2015
Default (OSX).sublime-keymap
Default (Windows).sublime-keymap Rewrite generate_uuid command Jun 2, 2015
Default.sublime-commands Rewrite generate_uuid command Jun 2, 2015
Main.sublime-menu Rewrite generate_uuid command Jun 2, 2015
generate_uuid.py Rewrite generate_uuid command Jun 2, 2015
icon.png
readme.md simplify README, since all platforms use the same 'ctrl+shift+' modif… Sep 5, 2016

readme.md

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