ECPaste Documentation
Getting Started
ECPaste is a browser extension that helps you save, organize, and reuse code snippets and text templates anywhere on the web.
After installing the extension, you'll see the ECPaste icon in your browser toolbar. Click on it to access your snippets dashboard.
Extension Demo
Click the browser extension icon (simulated):
Saving Snippets
There are two ways to save snippets:
Method 1: Using the Right-Click Menu
- Select any text on a webpage
- Right-click on the selected text
- Choose "Save as Snippet" from the context menu
- In the popup, give your snippet a name and choose a category
- Click "Save"
Method 2: Using Keyboard Shortcut
- Select any text on a webpage
- Press Alt+S (or Option+S on Mac)
- In the popup, give your snippet a name and choose a category
- Click "Save"
Try It: Select Text to Save
function calculateTotal(items) {
return items.reduce((sum, item) => {
return sum + (item.price * item.quantity);
}, 0);
}
Select the code above, then click the button below to simulate saving it
Organizing Snippets
ECPaste allows you to organize snippets by categories:
- Code: For programming snippets
- Text: For regular text templates
- AI Prompts: For prompts you use with AI tools
- Templates: For templates you use with various tools and needs like emails, invoices, etc.
To manage your snippets and categories:
- Click the ECPaste icon in your browser toolbar
- Use the dashboard to view, edit, delete, or categorize your snippets
- Use the search bar to quickly find specific snippets
Category Selector
Using Snippets
There are two ways to use your saved snippets:
Method 1: Quick Insert with Trigger
- Click in any text field where you want to insert a snippet
- Type ### followed by your snippet name
- Press Tab or Space to replace the trigger with your snippet content
Try Quick Insert
Type "###hello" in the field below and press Tab:
Method 2: Using the Browser Extension
- Click the ECPaste icon in your browser toolbar
- Find the snippet you want to use
- Click the "Copy" button to copy it to your clipboard
- Paste it wherever you need it
Sync Across Devices
ECPaste automatically syncs your snippets across all your devices where you've installed the extension and signed in with the same browser account.
Sync Visualization
Laptop
Desktop
Tablet
Your snippets are always available on all your devices
Keyboard Shortcuts
- Alt+S (or Option+S on Mac): Save selected text as a snippet
- Alt+P (or Option+P on Mac): Open the snippets panel
- ###snippet_name followed by Space: Insert a snippet quickly
Shortcut Cheat Sheet
Action | Shortcut |
---|---|
Save snippet | Alt+S |
Open panel | Alt+P |
Quick insert | ###name + Tab |