PasteUUID
PasteUUID is a Visual Studio Code extension that lets you easily insert a UUID into your code or text, directly from the right-click context menu.
Features
- Quickly generate and insert a UUID at the cursor location.
- Overwrites any selected text (acts like a paste operation).
- Supports multiple UUID versions: v1, v4, and v5.
- Configurable output:
- Letter case: Uppercase or lowercase.
- Hyphens: Include or remove hyphens.
- Single undo step for easy editing.
- Right-click context menu integration for fast access.
Extension Settings
You can configure the following options in your VS Code settings under PasteUUID :
pasteuuid.uuidVersion : Choose between v1 , v4 , or v5 .
pasteuuid.letterCase : Output in lowercase or uppercase .
pasteuuid.includeHyphens : Toggle whether hyphens are included.
Usage
- Right-click in any text editor window.
- Select Paste UUID from the context menu.
- A UUID will be inserted at your cursor, or replace selected text.
Requirements
- Visual Studio Code v1.70.0 or higher.
Installation
Install from the VS Code Marketplace (coming soon) or manually:
- Clone or download this repository.
- Run
npm install to install dependencies.
- Run
npm run compile to build the extension.
- Press
F5 to open a new Extension Development Host and test.
Known Issues
None yet! Please report any problems on the issues page.
License
BSD-3
| |