code-server: Intellij Idea Keybindings clipboardPasteAction not found

  • code-server version:
code-server --version
v10.15.1

Description

When pasting in the editor I get a "editor.action.clipboardPasteAction' not found toast notification and pasting fails. But copying works successfully.

I can also copy and paste just fine in the terminal.

Issue on the extension repo: https://github.com/kasecato/vscode-intellij-idea-keybindings/issues/163

Steps to Reproduce

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Comments: 22 (12 by maintainers)

Most upvoted comments

For anyone else finding this, I just overrode this keybinding with the following in my keybindings.json file

  // Remove incompatible paste action
  {
    "key": "ctrl+v",
    "command": "-editor.action.clipboardPasteAction",
    "when": "editorTextFocus && !editorReadonly"
  },

Repro steps are in https://github.com/yzhang-gh/vscode-markdown/issues/917.

OS/Web Information

  • Web Browser: Chrome
  • Local OS: Chrome OS 89.0.4389.82 (Official Build) (64-bit)
  • Remote OS: Debian (not exactly, but close enough)
  • Remote Architecture: amd64
  • code-server --version:
[2021-03-22T17:01:17.182Z] info  Using config file ~/.config/code-server/config.yaml
3.5.0 de41646fc402b968ca6d555fdf2da7de9554d28a

FYI, I’m running into this when trying to use an extension that explicitly calls editor.action.clipboardPasteAction.

Interesting, looks like VS Code web doesn’t support that command at the moment. I imagine they could do it with the clipboard API but they only use that for the terminal at the moment.