vscode: Snippets | Clipboard is not working
Version: 1.47.0 Commit: d5e9aa0227e057a60c82568bf31c04730dc15dcd Date: 2020-07-09T08:01:54.115Z Electron: 7.3.2 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Darwin x64 19.5.0
Steps to Reproduce:
- The following snippet is not getting the clipboard content when I trigger that.
"Create Partial Code Command Block": {
"scope": "html",
"prefix": "cmd",
"body": [
"<pre><code class=\"bash\" data-trim data-noescape>",
"\t$CLIPBOARD",
"</code></pre>\n"
],
"description": "Creates a partial code command block"
}
- Copy an ordinary content.
- Call the snippet
cmd
and the content stored in the CLIPBOARD should be inserted into an HTML document page.
I assure you that before this new update, the clipboard was working perfectly. I am using this snippet every single day. I restarted my Mac thinking about some OS behaviours, but there is nothing related to it.
Does this issue occur when all extensions are disabled?: Yes, I disabled all.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 5
- Comments: 25 (12 by maintainers)
Commits related to this issue
- fix https://github.com/microsoft/vscode/issues/102330 — committed to microsoft/vscode by jrieken 4 years ago
- fix https://github.com/microsoft/vscode/issues/102330 — committed to Charles-Gagnon/vscode by jrieken 4 years ago
Fixed in master, re-opened for candidate discussion
Can confirm
Insert Snippet
command from Palette works fine.