🔒 Clip LockClip Lock is a lightweight VS Code extension that lets you lock and unlock pasting inside VS Code using password protection. It is designed for situations where you want to prevent accidental or unwanted paste actions while working in VS Code. ✨ Features🔓 Unlock PastingEnter your password to unlock pasting.
🔒 Lock PastingInstantly lock pasting throughout VS Code.
🔑 Change PasswordChange your Clip Lock password securely. The process is:
The old password is required before a new password can be set. 🔐 SecurityClip Lock uses VS Code's SecretStorage API to store the password rather than storing it as ordinary plaintext extension state. The default password on first activation is:
You can change it anytime using Change Password.
🎯 How It WorksClip Lock has three primary actions:
The extension starts in the Locked state whenever VS Code is activated. 📊 Status BarClip Lock displays its current state in the VS Code status bar:
This makes it easy to see whether pasting is currently enabled. 🛠️ CommandsClip Lock provides commands that can be accessed through the VS Code Command Palette:
Open the Command Palette with: Ctrl + Shift + P Then search for Clip Lock. 🚀 InstallationFrom VSIX
After installation, activate the extension and use the Clip Lock commands. 🔑 Default PasswordOn the first activation, Clip Lock initializes its password as:
For better security, change the password using Change Password. ⚠️ LimitationsClip Lock works within the capabilities exposed by the VS Code Extension API. It does not:
The extension focuses on blocking standard paste functionality that can be controlled through supported VS Code APIs. 🧑💻 DevelopmentClone or open the extension project in VS Code and install its dependencies. Then press: F5 This launches an Extension Development Host where Clip Lock can be tested independently. 📄 LicenseAdd your preferred license here. Clip Lock — Lock your paste. Keep your control. 🔒 |