vscode-duplicate icon indicating copy to clipboard operation
vscode-duplicate copied to clipboard

Command 'Duplicate file or directory' resulted in an error (command 'duplicate.execute' not found)

Open alembiq opened this issue 3 years ago • 1 comments

Environment

  • VSCode Version: VSCodium 1.57.1
  • OS Version: Linux Parrot (debian derivate)

Actual behavior

i've installed the plugin, but i'm not able to use it, whenever i found the action in command palette it's giving me %Subj

Expected behavior

duplicating

Steps to reproduce

install ctrl+shift+p Duplicate file or directory get an error

Settings

{
    "breadcrumbs.enabled": false,

    "diffEditor.ignoreTrimWhitespace": false,
    "diffEditor.renderSideBySide": false,

    // "editor.colorDecorators": false,
    "editor.columnSelection": false,
    "editor.copyWithSyntaxHighlighting": false,
    "editor.detectIndentation": false,
    "editor.emptySelectionClipboard": false,
    //"editor.fontFamily": "JetBrains Mono",
    "editor.fontFamily": "Fira Code",
    "editor.fontLigatures": true,
    "editor.fontSize": 14,
    "editor.formatOnPaste": true,
    "editor.formatOnSave": false,
    "editor.formatOnType": true,
    // "editor.gotoLocation.multipleDeclarations": "goto",
    // "editor.gotoLocation.multipleDefinitions": "goto",
    // "editor.gotoLocation.multipleImplementations": "goto",
    // "editor.gotoLocation.multipleReferences": "goto",
    // "editor.gotoLocation.multipleTypeDefinitions": "goto",
    // "editor.hideCursorInOverviewRuler": true,
    // "editor.hover.enabled": false,
    "editor.insertSpaces": true,
    "editor.largeFileOptimizations": false,
    // "editor.lightbulb.enabled": false,
    //"editor.lineHeight": 19,
    // "editor.matchBrackets": "never",
    "editor.minimap.enabled": false,
    "editor.multiCursorModifier": "ctrlCmd",
    // "editor.occurrencesHighlight": false,
    // "editor.overviewRulerBorder": false,
    "editor.renderControlCharacters": true,
    "editor.renderLineHighlight": "none",
    "editor.renderWhitespace": "boundary",
    // "editor.selectionHighlight": false,
    "editor.snippetSuggestions": "top",
    "editor.suggestFontSize": 16,
    //"editor.suggestLineHeight": 28,
    "editor.tabSize": 4,
    "editor.wordWrapColumn": 240,

    "emmet.includeLanguages": {
        "latte": "html"
    },

    "explorer.confirmDragAndDrop": false,

    "files.autoGuessEncoding": true,
    "files.insertFinalNewline": true,
    "files.exclude": {
        "**/.git": false
    },
    "files.trimFinalNewlines": true,
    "files.trimTrailingWhitespace": true,

    "git.confirmSync": false,
    "git.decorations.enabled": false,

    "git.enableCommitSigning": true,
    "git.ignoredRepositories": [
        "/home/charles"
    ],
    "git.ignoreLimitWarning": true,

    "gitlens.blame.ignoreWhitespace": true,

    "html.format.contentUnformatted": "pre,code,textarea",
    "html.format.endWithNewline": true,
    "html.format.extraLiners": "head, body, /html",
    "html.format.indentHandlebars": false,
    "html.format.indentInnerHtml": false,
    "html.format.maxPreserveNewLines": null,
    "html.format.preserveNewLines": true,
    "html.format.wrapAttributes": "preserve-aligned",
    "html.format.wrapLineLength": 240,

    "[php]": {
        "editor.formatOnSave": true,
        "editor.defaultFormatter": "junstyle.php-cs-fixer",
    },

    "php-cs-fixer.onsave": true,
    "php-cs-fixer.showOutput": false,
    "php-cs-fixer.autoFixByBracket": false,
    "php-cs-fixer.rules": "@PSR2",

    "php.suggest.basic": false,

    "prettier.requireConfig": true,
    "prettier.useEditorConfig": false,

    // "problems.decorations.enabled": false,

    "projectManager.git.baseFolders": [
        "/home/charles/workspace"
    ],

    "rest-client.decodeEscapedUnicodeCharacters": true,

    "scm.diffDecorations": "all",

    "search.useIgnoreFiles": false,
    "search.exclude": {
        "**/vendor/": true,
        "**/public/": true,
        "**/node_modules": true,
        "**/dist": true,
        "**/composer.lock": true,
        "**/package-lock.json": true,
        "storage": true,
        ".phpunit.result.cache": true
    },

    "sonarlint.ls.javaHome": "/home/charles/.vscode-oss/extensions/sonarsource.sonarlint_managed-jre/jre/jdk-11.0.10+9-jre",

    "sync.gist": "d77a2e342550c2cf2d77d2ec50a078d2",

    "terminal.integrated.fontSize": 15,
    "terminal.integrated.lineHeight": 1.5,

    "todo-tree.general.tags": [
        "BUG",
        "HACK",
        "FIXME",
        "TODO",
        "XXX",
        "[ ]",
        "[x]"
    ],
    "todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)",

    "window.nativeFullScreen": false,
    "window.newWindowDimensions": "inherit",

    "workbench.action.terminal.pasteSelection": true,
    "workbench.activityBar.visible": true,
    "workbench.colorTheme": "Nord",
    "workbench.editor.enablePreview": false,
    "workbench.editor.enablePreviewFromQuickOpen": false,
    "workbench.editor.showTabs": true,
    "workbench.iconTheme": "material-icon-theme",
    "workbench.statusBar.visible": false,
    "workbench.sideBar.location": "right",
    // "workbench.startupEditor": "none",
    "workbench.tips.enabled": false,
    "yaml.customTags": [
        "!encrypted/pkcs1-oaep scalar",
        "!vault scalar"
    ],
    "workbench.editor.untitled.hint": "hidden",
    "workbench.startupEditor": "newUntitledFile",
    "redhat.telemetry.enabled": false,
    "todo-tree.tree.showScanModeButton": false,
}
~/.vscode-oss/extensions/mrmlnc.vscode-duplicate-1.2.1 (X1) $ tree
.
├── CODE-OF-CONDUCT.md
├── CHANGELOG.md
├── icon.png
├── LICENSE.txt
├── node_modules
│   ├── fs-extra
│   │   ├── docs
│   │   │   ├── copy.md
│   │   │   ├── copy-sync.md
│   │   │   ├── emptyDir.md
│   │   │   ├── emptyDir-sync.md
│   │   │   ├── ensureDir.md
│   │   │   ├── ensureDir-sync.md
│   │   │   ├── ensureFile.md
│   │   │   ├── ensureFile-sync.md
│   │   │   ├── ensureLink.md
│   │   │   ├── ensureLink-sync.md
│   │   │   ├── ensureSymlink.md
│   │   │   ├── ensureSymlink-sync.md
│   │   │   ├── fs-read-write.md
│   │   │   ├── move.md
│   │   │   ├── move-sync.md
│   │   │   ├── outputFile.md
│   │   │   ├── outputFile-sync.md
│   │   │   ├── outputJson.md
│   │   │   ├── outputJson-sync.md
│   │   │   ├── pathExists.md
│   │   │   ├── pathExists-sync.md
│   │   │   ├── readJson.md
│   │   │   ├── readJson-sync.md
│   │   │   ├── remove.md
│   │   │   ├── remove-sync.md
│   │   │   ├── writeJson.md
│   │   │   └── writeJson-sync.md
│   │   ├── CHANGELOG.md
│   │   ├── lib
│   │   │   ├── copy
│   │   │   │   ├── copy.js
│   │   │   │   └── index.js
│   │   │   ├── copy-sync
│   │   │   │   ├── copy-sync.js
│   │   │   │   └── index.js
│   │   │   ├── empty
│   │   │   │   └── index.js
│   │   │   ├── ensure
│   │   │   │   ├── file.js
│   │   │   │   ├── index.js
│   │   │   │   ├── link.js
│   │   │   │   ├── symlink.js
│   │   │   │   ├── symlink-paths.js
│   │   │   │   └── symlink-type.js
│   │   │   ├── fs
│   │   │   │   └── index.js
│   │   │   ├── index.js
│   │   │   ├── json
│   │   │   │   ├── index.js
│   │   │   │   ├── jsonfile.js
│   │   │   │   ├── output-json.js
│   │   │   │   └── output-json-sync.js
│   │   │   ├── mkdirs
│   │   │   │   ├── index.js
│   │   │   │   ├── mkdirs.js
│   │   │   │   ├── mkdirs-sync.js
│   │   │   │   └── win32.js
│   │   │   ├── move
│   │   │   │   └── index.js
│   │   │   ├── move-sync
│   │   │   │   └── index.js
│   │   │   ├── output
│   │   │   │   └── index.js
│   │   │   ├── path-exists
│   │   │   │   └── index.js
│   │   │   ├── remove
│   │   │   │   ├── index.js
│   │   │   │   └── rimraf.js
│   │   │   └── util
│   │   │       ├── assign.js
│   │   │       ├── buffer.js
│   │   │       └── utimes.js
│   │   ├── LICENSE
│   │   ├── package.json
│   │   └── README.md
│   ├── graceful-fs
│   │   ├── clone.js
│   │   ├── graceful-fs.js
│   │   ├── legacy-streams.js
│   │   ├── LICENSE
│   │   ├── package.json
│   │   ├── polyfills.js
│   │   └── README.md
│   ├── jsonfile
│   │   ├── CHANGELOG.md
│   │   ├── index.js
│   │   ├── LICENSE
│   │   ├── package.json
│   │   └── README.md
│   ├── lodash.escaperegexp
│   │   ├── index.js
│   │   ├── LICENSE
│   │   ├── package.json
│   │   └── README.md
│   └── universalify
│       ├── index.js
│       ├── LICENSE
│       ├── package.json
│       └── README.md
├── package.json
└── README.md

21 directories, 87 files

alembiq avatar Jul 20 '21 15:07 alembiq

Same here. Just installed. Did you manage to resolve this issue?

In Explorer: right-click on any file, then "Duplicate file or directory" from the popup: nothing happens, no error message. With a file selected in Explorer: then "Ctrl+D": error message "command 'duplicate.execute' not found".

Error message:

Duplicate_Action_20211230_001525

Extension version:

Duplicate_Action_20211230_001710

When selecting "Install Another Version..." from the cog:

Duplicate_Action_20211230_002504

Extension settings:

Duplicate_Action_20211230_002051

Bash grep -I ~/".config/Code - OSS/CachedExtensions/user" --colour -ie 'duplicate.execute'

Duplicate_Action_20211230_003306

VS Code:

Version: 1.62.0
Commit: b3318bc0524af3d74034b8bb8a64df0ccf35549a
Date: 2021-11-07T19:37:13.664Z
Electron: 13.6.3
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.15.11-arch2-1

BobbyBabes avatar Dec 29 '21 23:12 BobbyBabes