Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Filename CopyNew to Visual Studio Code? Get it now.
Filename Copy

Filename Copy

Michal Fanta

|
6 installs
| (0) | Free
Adds context menu to copy file name or name without extension.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  1. Right-click on any file in the Explorer panel
  2. 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)
  3. The filename is copied to your clipboard and a confirmation message appears

Installation

From VS Code Marketplace

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "Copy Filename"
  4. Click Install

Manual Installation

  1. Download the .vsix file from the releases page
  2. Open VS Code
  3. Press Ctrl+Shift+P (Cmd+Shift+P on Mac) to open the command palette
  4. Type "Extensions: Install from VSIX" and select it
  5. 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.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Repository

GitHub Repository

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