Copy Filename
A simple VS Code extension that adds convenient context menu options to copy file names to the clipboard.
Features
This extension adds two new commands to the Explorer context menu:
- Copy File Name - Copies the complete filename including the extension
- Copy File Name (No Extension) - Copies only the filename without the extension
Usage
- Right-click on any file in the Explorer panel
- Select either:
- "Copy File Name" to copy the full filename (e.g.,
example.txt )
- "Copy File Name (No Extension)" to copy just the name (e.g.,
example )
- The filename is copied to your clipboard and a confirmation message appears
Installation
From VS Code Marketplace
- Open VS Code
- Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
- Search for "Copy Filename"
- Click Install
Manual Installation
- Download the
.vsix file from the releases page
- Open VS Code
- Press Ctrl+Shift+P (Cmd+Shift+P on Mac) to open the command palette
- Type "Extensions: Install from VSIX" and select it
- Choose the downloaded
.vsix file
Requirements
- VS Code version 1.70.0 or higher
Extension Settings
This extension does not contribute any VS Code settings.
Known Issues
None at this time. If you encounter any issues, please report them on the GitHub repository.
Release Notes
0.0.1
Initial release of Copy Filename extension.
Features:
- Copy filename with extension
- Copy filename without extension
- Context menu integration in Explorer
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature )
- Commit your changes (
git commit -m 'Add some amazing feature' )
- Push to the branch (
git push origin feature/amazing-feature )
- Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Repository
GitHub Repository
| |