Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy Paste FileNew to Visual Studio Code? Get it now.
Copy Paste File

Copy Paste File

iNewTech

|
16 installs
| (0) | Free
copy paste file to same location
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

copypastefile

A Visual Studio Code extension that provides two convenient commands for handling files:

Features

  • Duplicate File: Creates a copy of the selected file in the same directory. It automatically suggests a new file name (e.g., filename_copy.ext) and allows you to modify it before creation.
  • Copy File Content: Copies the entire content of the selected file to the clipboard.

Usage

You can use these commands in two ways:

  1. From the Explorer: Right-click on a file in the Explorer view to open the context menu. You will find "Duplicate File" and "Copy File Content" in the menu.
  2. From the Editor: Right-click inside an open editor to open the context menu. You will also find the commands there.

Release Notes

2.0.0

  • Added Duplicate File command to duplicate a file with a new name.
  • Added Copy File Content command to copy the content of a file to the clipboard.

1.0.1

  • Minor fix

1.0.0

  • Initial release of copy paste
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft