This VS Code extension generates GUID values and inserts them into the current editor or onto the clipboard.
Various configuration options are provided to format the GUID to reduce keystrokes.
GUID is a term used by Microsoft for a type of UUID and used for things like COM interface definitions. Specifically, this extension creates type 4 UUIDs.
Features
Commands exist for:
Insert New GUID
Copy New GUID to the Clipboard
The commands can be accessed from the command palette by pressing (Ctrl+Shift+P or Cmd+Shift+P on Mac), typing GUID and selecting the desired function. Alternately, the commands can be bound to a keyboard shortcut.
The Insert New GUID command supports multi-cursor selection, which can be used to insert multiple GUIDs at the same time.
The extension is design to work with VS Code on the desktop and for the web, for example with vscode.dev.
Whether to show the Insert New GUID function in the editor context menu.
vscode-guid-generator.uppercase
boolean
false
Whether the hex digits in the GUID should be uppercase.
vscode-guid-generator.append
string
nothing
Append a string to each inserted GUID, such as a comma and/or space.
vscode-guid-generator.newline
boolean
false
Append a newline after each inserted GUID.
vscode-guid-generator.decoration
string
none
Choose whether the generated GUID should be wrapped in braces ([{}]) or quotes ("'``'").
The vscode-guid-generator.newline setting may be especially useful when the Insert New GUID command is bound to a keystroke and used to repeatedly insert UUIDs into the editor.
Known Issues
None at this time.
Release Notes
1.0.0
Address need for VS Code restart after installation