Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>File Copier for AINew to Visual Studio Code? Get it now.
File Copier for AI

File Copier for AI

awsdang

|
5 installs
| (3) | Free
Gets relative path and content of the active file.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

File Info Helper

A simple VS Code extension that copies the relative path and the entire content of the active file to your clipboard.

Features

  • Copy File Path: Copies the relative path of the currently opened file.
  • Copy File Content: Copies the full content of the active file.
  • Combined Output: Formats the path and content into a single string for easy pasting.

How to Use

  1. Open any file in the VS Code editor.
  2. Open the Command Palette (Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on macOS) or better just use the shortcut .
  3. Search for and select the command: "Get Active File Info (Path & Content)".
  4. The file's relative path and content will be copied to your clipboard.

Shortcut

  • Windows/Linux: Ctrl+Shift+C
  • macOS: Cmd+Shift+C

Feedback and Contributions

If you have any feedback, suggestions, or issues, please create an issue in the GitHub repository. Contributions are always welcome!

License

This extension is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft