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

Dupe File

michael gieson

|
2,656 installs
| (3) | Free
Duplicate files from the file context menu. Makes a copy of the file in the same location simlilar to macOS's Finder context menu.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Dupe File

Adds right-click "Dupe File" to the context menu in the file view.

context menu screenshot

Usage

The first option:

  1. Hover on a file or directory name in explorer.
  2. Right-click and select Dupe file.

The second option:

  1. Open the file.
  2. Press F1 and select Dupe file.

Supported settings

dupe.openFileAfterCopy

  • Type: Boolean
  • Default: false

Opens the newly created file immediately.

Keyboard shortcuts

For changes keyboard shortcuts, create a new rule in File -> Preferences -> Keyboard Shortcuts:

{
  "key": "ctrl+shift+d",
  "command": "dupe.execute"
}

License

This software is released under the terms of the MIT license.

Special Props

Thanks to Dennis Malinochkin for leading the way with a similar project Duplicate action

Changelog

v1.0.6 - 2019-10-20 @ 12:45:03

  • fixed honoring settings

v1.0.5 - 2019-10-20 @ 12:28:16

  • fix references

v1.0.2 - 2019-10-20 @ 03:20:55

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