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
- Open any file in the VS Code editor.
- Open the Command Palette (
Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on macOS) or better just use the shortcut .
- Search for and select the command: "Get Active File Info (Path & Content)".
- 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.
| |