-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Intellij Idea Keybindings clipboardPasteAction not found #1105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
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. |
For anyone else finding this, I just overrode this keybinding with the following in my keybindings.json file
|
You might be running into this: #1106 If so, the best solution is to use HTTPS. There's a workaround for pasting but I'm not sure there's one for copying (it might work to just unbind it). |
I'm using HTTPS. But I'm using Nginx reverse proxy in between. EDIT: Lets put it differently, I do not need the HTTPS from code-server. I can use plain communication between Nginx and the localhost:8080, and my separate Nginx reverse proxy server is taking care of the SSL stuff (which is running on port 443, publicly available). |
That sounds good; I use the same setup. As long as the browser itself is seeing an HTTPS all is well. But I realized I missed some information about Firefox so I elaborated here: #1106 (comment) |
Should note that pasting works fine when nothing is selected. It's only when things are selected that you get this error. |
My initial issue was happening whether or not I had anything selected. That issue is resolved (by removing the command in the intellij extension). Maybe we should create a new issue for any other root causes. |
Upstream issue. |
Not really an upstream issue, we should just patch it, it'd be really easy afaik. |
Only for chromium based browsers and Firefox though, safari doesn't support the clipboard API we'd need. |
Or actually, I wonder what they do for the terminal in Safari. |
Yea I'm actually confused how the terminal supports copying since it's rendering to a canvas so I can't select any text and so |
Figured it out. See https://github.com/xtermjs/xterm.js/blob/7f598a36753f4d950ee63dc91bd6a92290f7e037/src/browser/Clipboard.ts They have a DOM element they populate right before a selection occurs to ensure the DOM is in sync with what's actually being selected. |
Oh, nvm, check this out: https://developer.mozilla.org/en-US/docs/Web/API/Element/copy_event That's what they're using. Not sure what the above is about then. |
FYI, I'm running into this when trying to use an extension that explicitly calls |
Repro steps are in yzhang-gh/vscode-markdown#917. OS/Web Information
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days. |
This is still relevant. |
We are closing out old issues but let me know if this is still an issue. That said, it is probably not something we can fix, likely it is an issue in VS Code core. |
code-server
version: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: kasecato/vscode-intellij-idea-keybindings#163
Steps to Reproduce
The text was updated successfully, but these errors were encountered: