Have you ever found yourself copying and pasting a function from one file to another? Don't you just hate it when you miss a line or two and spend hours debugging your code? Fear no more, the Function Copier is here to save the day!
The Function Copier is a lightweight Visual Studio Code extension that allows you to easily copy entire function bodies to your clipboard with just a few clicks. No more scrolling up and down your code looking for that one missing line. Just copy and paste your functions like a pro!
CodeLens integration that displays a "Copy function" command above function definitions. "Copy function" command that copies the entire function body to the clipboard. Support for JavaScript and TypeScript. Installation You can install the Function Copier from the Visual Studio Code Marketplace or directly from the Extensions view in Visual Studio Code. Marketplace link
Simply open a file containing a function definition and hover over the function name. A "Copy function" command will appear above the function definition. Click the command to copy the entire function body to your clipboard.
Contributions are always welcome! If you encounter any issues or have any suggestions for new features, feel free to create an issue or a pull request. We're a friendly bunch and we'd love to hear from you!
This extension is licensed under the MIT License. Feel free to use it, modify it, and share it with your friends and colleagues.
This extension was developed by @reemtariqq with the help of the amazing VS Code API.