This Visual Studio Code extension allows you to quickly copy the file name of an open tab to the clipboard. It adds a convenient option to the right-click menu of each tab, saving you time when working with files.
Features
Right-click on any open tab in VS Code and select Copy File Name to Clipboard.
Automatically copies the file name (without the path) to your clipboard.
Works seamlessly with files in all directories and projects.
How to Use
Install the extension from the Visual Studio Code Marketplace.
Open a file in Visual Studio Code.
Right-click on the file's tab (in the editor or explorer).
Select Copy File Name to Clipboard from the context menu.
The file name will be copied to your clipboard, and you'll see a confirmation message.
Installation
From Visual Studio Code Marketplace
Open the Extensions view in VS Code (Ctrl+Shift+X or Cmd+Shift+X on macOS).