Skip to content

ImmuneFOMO/CopyPro

Repository files navigation

CopyPro

CopyPro is a powerful Visual Studio Code extension that enhances your copy functionality, making it easier to work with file paths, contents, and project structures.

Features

CopyPro provides the following commands:

  1. Copy Relative Path with Content (Ctrl+Alt+C / Cmd+Alt+C on Mac)

    • Copies the relative path of the current file along with its content.
  2. Copy All Files from Directory (Ctrl+Alt+D / Cmd+Alt+D on Mac)

    • Copies the relative paths and contents of all files in a selected directory.
  3. Copy Absolute Path (Ctrl+Alt+A / Cmd+Alt+A on Mac)

    • Copies the absolute path of the current file.
  4. Copy File Name (Ctrl+Alt+N / Cmd+Alt+N on Mac)

    • Copies just the name of the current file.
  5. Copy Relative Path with Line Number

    • Copies the relative path of the current file along with the current line number.
  6. Copy Relative Path

    • Copies the relative path of the current file.
  7. Copy Path Relative to Workspace

    • Copies the path of the current file relative to the workspace root.
  8. Copy Project Structure (Ctrl+Alt+P / Cmd+Alt+P on Mac)

    • Copies the directory structure of the entire project.
  9. Copy Directory Structure (Ctrl+Alt+S / Cmd+Alt+S on Mac)

    • Copies the directory structure of a selected directory within the project.

Usage

You can access all CopyPro commands through the Command Palette (Ctrl+Shift+P / Cmd+Shift+P on Mac) by typing "CopyPro".

Additionally, you can use the following keyboard shortcuts:

  • Ctrl+Alt+C (Cmd+Alt+C on Mac): Copy Relative Path with Content
  • Ctrl+Alt+D (Cmd+Alt+D on Mac): Copy All Files from Directory
  • Ctrl+Alt+A (Cmd+Alt+A on Mac): Copy Absolute Path
  • Ctrl+Alt+N (Cmd+Alt+N on Mac): Copy File Name
  • Ctrl+Alt+P (Cmd+Alt+P on Mac): Copy Project Structure
  • Ctrl+Alt+S (Cmd+Alt+S on Mac): Copy Directory Structure

Installation

  1. Open Visual Studio Code
  2. Press Ctrl+P (Cmd+P on Mac) to open the Quick Open dialog
  3. Type ext install ImmuneFOMO.copypro to find the extension
  4. Click the Install button, then the Enable button

Requirements

CopyPro requires Visual Studio Code version 1.60.0 or higher.

Known Issues

There are currently no known issues. If you encounter any problems, please report them on our GitHub issues page.

Release Notes

0.0.3

Added new features:

  • Copy Project Structure
  • Copy Directory Structure

Contributing

Contributions are always welcome! Please feel free to submit a Pull Request.

License

This project is open source and available under the MIT License.

More Information

Enjoy enhanced copying with CopyPro!