VSCode :: How can I duplicate directories and files from within the file explorer?
Marketplace extension File Utils:
To duplicate a file within a folder:
- right click on the file,
- press copy
- now right click on the folder, and
- press paste
- the file will be duplicated with an extension of "...-1" in the same folder
The "Duplicate action" extension will allow you to right click and choose duplicate as you described.