Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy file nameNew to Visual Studio Code? Get it now.
Copy file name

Copy file name

Viktor Nemes

|
47,330 installs
| (5) | Free
Copies the name of the currently opened file to the clipboard.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

copy-file-name

Copies the name of the currently active file to the clipboard.

Features

  • Ctrl-Alt-f / Cmd-Alt-f - copies the name of currently active file without extension
  • Ctrl-Alt-e / Cmd-Alt-e - copies the name of currently active file with extension

Commands

Dependencies

Known Issues

Release Notes

1.2.0

  • Remove the dependency on node-copy-paste and use the built in Clipboard support in VS Code 1.30.x and above.

1.1.0

  • The Copy commands are included in the editor title and Explorer context menus

1.0.0

  • Initial release

License

MIT © Viktor Nemes

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