Pastezen VS Code Extension
Create and manage code pastes directly from Visual Studio Code.
Features
- 🚀 Create pastes from selection - Right-click on selected code to create a paste
- 📄 Create pastes from file - Share entire files with one command
- 📋 Paste management sidebar - View all your pastes in the sidebar
- 🔗 Quick URL copy - Automatically copies paste URL to clipboard
- 🗑️ CRUD operations - Create, read, update, and delete pastes
- 🔐 Secure authentication - Uses API tokens for secure access
Installation
- Install the extension from VS Code Marketplace
- Get your API token from Pastezen
- Run command:
Pastezen: Set API Token
- Enter your token
Usage
Create Paste from Selection
- Select code in the editor
- Right-click →
Pastezen: Create Paste from Selection
- Enter a title
- URL is automatically copied to clipboard!
Create Paste from File
- Open a file
- Right-click →
Pastezen: Create Paste from File
- Enter a title
- URL is automatically copied to clipboard!
Manage Pastes
- Open the Pastezen sidebar (activity bar icon)
- View all your pastes
- Click to open in browser
- Use icons to copy URL or delete
Commands
Pastezen: Create Paste from Selection - Create paste from selected text
Pastezen: Create Paste from File - Create paste from entire file
Pastezen: Set API Token - Configure your API token
Pastezen: Refresh Pastes - Refresh paste list
Pastezen: Open Paste - Open paste in browser
Pastezen: Copy Paste URL - Copy paste URL to clipboard
Pastezen: Delete Paste - Delete a paste
Configuration
Requirements
- VS Code 1.75.0 or higher
- Pastezen account with API token
Getting Your API Token
- Go to Pastezen
- Log in or create an account
- Navigate to API Tokens in the sidebar
- Click Create New Token
- Copy the token and paste it in VS Code
Support
License
MIT
| |