A VS Code extension that allows you to easily copy file paths from the editor toolbar.
Features
📋 One-click copy - Add buttons to the editor toolbar for instant path copying
🎯 Two copy modes - Copy absolute or relative paths as needed
💬 Instant feedback - Notification displays the copied path for confirmation
⚡ Lightweight - No configuration needed, works out of the box
Usage
Open any file in VS Code
Look for the copy icons in the editor toolbar (top-right area)
Click to copy either:
First icon: Absolute path (full system path)
Second icon: Relative path (relative to workspace root)
The path is automatically copied to your clipboard
Installation
From VS Code Marketplace
Open VS Code
Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
Search for "Editor Path Copier"
Click Install
From VSIX
Download the latest .vsix file from GitHub Releases and install manually.
Development
Prerequisites
Node.js 18+
npm
Setup
git clone https://github.com/kosukesaigusa/editor-path-copier.git
cd editor-path-copier
npm install
Available Scripts
npm run compile # Compile TypeScript
npm run watch # Watch mode compilation
npm run check # Run Biome linting and formatting
npm run package # Create VSIX package
Testing
Press F5 to run the extension in a new Extension Development Host window
Open any file and test the copy functionality
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.