UID Generator Plus
A VS Code extension to quickly generate various unique identifiers (UIDs).
Features
After placing the cursor in the editor, you can use commands to generate the following types of UIDs:
- UUID v4: Universally Unique Identifier
- NanoID: Small, secure, URL-friendly unique string
- Snowflake ID: Twitter's distributed ID generation algorithm
- ULID: Lexicographically sortable unique identifier
- MongoDB ObjectId: Default identifier format for MongoDB documents
- CUID: Collision-resistant unique identifier
- SHA-256: Timestamp-based SHA-256 hash
- MD5: Timestamp-based MD5 hash
Usage
- Click in the editor where you want to insert the UID.
- Press
Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows/Linux) to open the command menu.
- Type "Generate UID" to see all available UID generation options.
- Select the desired UID type.
Multi-Cursor Support
Supports multi-cursor operation; different UIDs will be generated at different cursor positions.
Features
- Supports 8 common UID formats
- Full support for multi-cursor operation
- Generates unique UIDs at each cursor position
- No additional configuration required, just install and use
| |