Problem: Duplicate file action only works on open files, not directories.
Solution: The extension should be able to duplicate without an active text editor.
Steps to reproduce:
If I have selection on a folder

I can't duplicate it with this keybinding.
{
"key": "ctrl+d",
"command": "duplicate.execute",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
},
It gives the error: