CopiFunction
🚀 CopiFunction makes working with your code faster and easier by adding a simple 📋 Copy Function button above every function.
It works across various file types!
Features
- 📋 One-click copy of entire functions:
- JavaScript / TypeScript: supports
async , arrow functions, and class methods.
- Python: supports
def and async def functions (indentation-based).
- Apex: supports standard class methods.
- ✨ Automatically selects the copied function so you can paste over it instantly.
- 🔍 Currently works in
.js , .ts , .py , .cls , and .ipynb files.
- ❌ Ignores non-function control blocks like
if , for , while , or catch .
Usage
- Open a file in JavaScript, TypeScript, Python, Apex, or Jupyter Notebook.
- Look for the 📋 icon above your functions.
- Click the icon:
- The entire function is copied to your clipboard.
- The function is automatically highlighted and selected in the editor.
- You can immediately paste over it with Ctrl+V / ⌘+V.
| |