Giter Club home page Giter Club logo

uuid-tools's Introduction

uuid-tools

uuid-tools is a vs-code extension that can generate v1,v2,v3,v4,v5,v6,v7 UUIDs and includes various useful uuid manipulation commands.

Installation

Open VS Code and press F1 or Ctrl + Shift + P or Cmd + Shift + P to open command palette, select Install Extension and type uuid-tools.

Or launch VS Code Quick Open (Ctrl + P or Cmd + P ), paste the following command, and press enter.

ext install uuid-tools

You can also install directly from the Marketplace within Visual Studio Code, searching for uuid-tools.

Commands

This extension provides several commands in the Command Palette (F1 or Ctrl + Shift + P or Cmd + Shift + P) for working with any files.

  • uuid-tools: Generate nil UUID: Generates uuid string with all zeros.
  • uuid-tools: Generate UUIDv1: Generates version 1 uuid.
  • uuid-tools: Generate UUIDv2: Generates version 2 uuid.
  • uuid-tools: Generate UUIDv3: Generates version 3 uuid.
  • uuid-tools: Generate UUIDv4: Generates version 4 uuid.
  • uuid-tools: Generate UUIDv5: Generates version 5 uuid.
  • uuid-tools: Generate UUIDv6: Generates version 6 uuid.
  • uuid-tools: Generate UUIDv7: Generates version 7 uuid.
  • uuid-tools: Generate UUID: Generates uuid specified in the preferences.
  • uuid-tools: Convert to hexadecimal: Replaces selected uuid string with the equivalent hexadecimal representation.
  • uuid-tools: Convert to bytes: Replaces selected uuid string with the comma-seperated hexadecimal bytes.
  • uuid-tools: Construct UUID from string: Constructing UUIDs from selected text that contains hex values.

Note: Selected uuid strings can contain space, double-quote and single-quote.

Menus

  • uuid-tools: Generate UUID: Generates uuid specified in the preferences.

Usage

UUID Generation

There are 3 different ways to generate UUID

  • Set cursor and run the UUID generation command, this will generate at the cursor.
  • Set multi cursors and run the UUID generation command, this will generate UUIDs at each cursor.

    Note: For the multiple UUID generation, UUID generation behavior can be controlled through uuid-tools.multi-cursor-behavior option.

  • Select any text that includes any number of UUIDs and run the UUID generation command, this will replace existing UUIDs with the new ones.

Options

Option Description Default
uuid-tools.uuid-version Version of the UUID to generate v4
uuid-tools.case Case of the generated UUID string lower
uuid-tools.multi-cursor-behavior UUID generation behavior when multi-cursor is active unique
uuid-tools.v2.domain Domain of the UUID v2 null
uuid-tools.v2.identifier Identifier of the UUID v2 null
uuid-tools.v3.namespace Namespace of the UUID v3 null
uuid-tools.v3.name Name of the UUID v3 null
uuid-tools.v5.namespace Namespace of the UUID v5 null
uuid-tools.v5.name Name of the UUID v5 null

Release Notes

Version 2.3.0

  • Default case sensitivity changed to "lower" case.

Development

Maintainer Kadir Sevil <[email protected]>

Publisher Diode IoT Inc. <[email protected]>

Contribution

Contributions to the repository are welcome.


uuid-tools's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.