-
Notifications
You must be signed in to change notification settings - Fork 31k
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
Copy Paste Not Working #55303
Comments
(Experimental duplicate detection) |
/needsMoreInfo |
Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue. Happy Coding! |
Also experiencing this all of a sudden. On Version 1.21.1 of VSCode using Mac OS High Sierra 10.13.6. Only started happening within the last few days. A full close of VSCode doesn't seem to fix it either, and I've tried disabling all related copy and paste extensions (I use Clipboard History and Paste with Indent). I've also been experiencing some issues with saving files immediately. I'll do cmd+s to save a file, and it seems to hang for a second or two before saving whereas prior the file would save immediately. |
I am also experiencing this issue too. This time, it is more like I cannot copy ANYTHING from VS Code into my system clipboard. I am using VSCode 1.25.1 and MacOS 10.13.6. It also looks like an intermittent issue. Closing and reopening VSCode was enough for the issue to go away. I was testing the reproduction by trying to copy text from VSCode and paste it into the address bar in Chrome. |
I had the same issue by the sounds of things. I could not copy / paste into or out of VS Code. (C&P internally was OK though). For some reason doing the following fixed it on Mac:
Hope that helps others fix and/or helps root out the underlying cause. |
Hi There,
I have uninstall the VS code and restart the machine and again install the
updated version 1.26.1 ,
Now it is working fine on copy/paste the code.
You can also clear the cache before uninstalling .
Below are manual method to clear the cache from the machine.
Windows: C:\Users\<userid>\AppData\Roaming\Code\Local Storage
Linux: /home/<userid>/.config/Code/Local Storage
macOS: /Users/<userid>/Library/Application Support/Code/Local Storage
Thanks and Regards
Siddhant
…On Thu, Aug 30, 2018 at 3:58 PM andyg303 ***@***.***> wrote:
I had the same issue by the sounds of things. I could not copy / paste
into or out of VS Code. (C&P internally was OK though).
For some reason doing the following fixed it on Mac:
- Go to /Users/YOUR_USER_NAME/Library/Application
Support/Code/CachedData
- Delete all files, then restart VS Code.
Hope that helps others fix and/or helps root out the underlying cause.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#55303 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AmZC7dDgSkeMpcJwyOkvfL5kn_zQ4SK3ks5uV75GgaJpZM4VlFPB>
.
|
same issue here. Also updated my vscode and not fixed. |
UPDATE I have the same problem in 1.29.1, on Mac I have deleted all the vs code settings
And restarted VS Code. But still can not access the global Mac clipboard. I have not had this problem before. |
I encountered this issue just then and restarting my machine(mac os 10.11.6) resolved it |
On Linux (CentOS 7.2), deleting the contents of '/home//.config/Code/Local Storage' worked the first time. Next occurrence, I had to delete the contents then reboot. |
The same problem, RHEL 6.1. For some reason clipboard stops working. |
Unfortunately I have the same problem. Upgraded to 1.31.0 and the paste on the explorer stopped working. I've restarted, removed the cache, even uninstalled/installed vscode and still can't get it to work. I've got macos mojave 10.14.2... Hopefully I can get this fixed before I have to reinstall my computer (VS Code is that important! Thanks for all the hard work) |
Had a copy paste problem now for months/maybe a year on my Windows machine. Restarting VS Code fixes it but it keeps popping up. |
CMD-v paste was dying once a week but now dying every hour after Version 1.31.1 update. Quit and restart fixes it. But it's really a fix. How is this still a problem. It's been an issue on and off for well over a year. |
I was just here troubleshooting a paste related issue and i found something that may be affecting others ... hoping a dev see's this as it may be related to an addon and not something (or maybe it is in vscode by default ... who knows) anyway, I looked through my extensions and searched for "paste" ... I disabled paste JSON as code (100% added by me) and indent on paste (that is the one I am not sure if say awesome-vscode added that one or if intend on paste is there in a default install ... anyway I did not remove that one i just disabled it .. paste is working again ... don't think i have any "paste" items in preferences changed from default settings ... Hoping this may help others and devs, when people ask about a similar "paste, is not working" issue |
not 100% sure but i think this is the one i mean .. dont see why it wouldn't be (aka two ext. with the same name and there is another one) https://marketplace.visualstudio.com/items?itemName=gazugafan.vscode-indent-on-paste |
sorry for "post spamming" but i saw gazugafan/vscode-indent-on-paste#3 ... the dev is aware it seems |
This has been an issue for me also, for well over a year. I've tried everything from restarting VSC, testing extensions one-by-one, reformatting my Mac. It typically happens a few times a day and I have to restart the workspace, but not the full app. I can leave other projects open and only re-open the current one. I've noticed that it specifically happens after copying something in an HTML file, usually a class for some reason. When this happens, tab, paste, and all intellisense stops working. |
I tried to use it, but to no success - paste stops working the same with or without this extension |
well, I am pretty sure the problem is some "copy-paste" extensions on my MacBook. The function works as expected right after I shut the extension down. |
Building on previous comment, I'm using x2go to open a terminal on the remote linux box.
Potential solution (not sure if all, one or combination):
Still a bit quirky but clipboard and copy/paste are working as expected. |
Mojave 10.14 I disabled all extensions, deleted cache and restarted the computer. Logged back in and did a copy & paster in Notes. No problem. Pasted the same contents into a VSCode document. Worked. Then tried copying something from the VSCode document, and pasting it. No go. Interestingly, Another workaround I discovered that works is to select the text I want in VSCode, |
I have the same problem since a couple of days,… what the heck? |
You've also disabled all extensions? I had just the same issue and disabled all extensions and it started working again... Though couldn't definitely find the extension causing the issue... Seems it is some roaming error. |
I found the Issue! I removed this keybinding and now everything works again! 🎉 After all I have no idea how I might have set this binding 🤷♂️ |
Where did you find |
I found mine! Self-inflicted!!! Problem solved. |
This worked for me as well. I removed this setting in my
|
Bless your soul @p0fi |
For me too. But the problem is not the keybinds, by context menu command I have the same problem. |
This fixed it, cheers |
It's been a while for me and I use vscode on different distro bases (not Windows) of Linux ... Arch, Fedora, OpenSuse, and Ubuntu bases ... with the past few versions and no fixes (if i posted that above) needed ... I have NOT run into this issue, myself |
I still have this issue on Windows 10.
None of this helped, anyone can help? |
This is happening to me as well My setup macOS 10.14.6 I'll be fine then randomly If I Turning off Alfred does nothing. My installed and active extensions are:
|
I have this problem as well: MacOS 10.15.1 Installed extensions:
I have no keybindings set in keybindings.json I've cleared the cache ( /Users/YOUR_USER_NAME/Library/Application Support/Code/CachedData) and restarted VS Code as others have suggested but that doesn't solve the problem. Cmd-C works in every other app. |
Similar issue: VS Code Version: 1.44.1 MacOS 10.15.4 Installed Extensions:
|
in the version 1.44.0 of VSCode IDE, when I use copy and paste, multiple repeats it. the VSCode will break it down and popup let me reopen. pls refix it. thanks |
Repro
Fix
|
I have same issue but if we use "Ctrl"+"Shift"+V ...it will work in visual studio code if You installed "VIM" extension in Your VS Code then UnInstalled it . |
Yup yup. This is the same issue I have had and how I had to resolve it. It only happens on Windows for me. In order to use copy + paste, I have to be in vim's insert mode. |
looks like this issue VSCodeVim/Vim#4149 was re-introduced into the current |
It looks fot me that VSCode does not share the same clipboard like mac Os. because I can copy and paste inside of VSCode, but I can't paste content which copied from outside of VSCode (Opera Touch, Sublime Text and so on..). |
After fighting VSCODE 1.45.1 on Windows 10 with PHP code with Unix LF and UTF8 encoding for days, I was able to replicate this problem in Notepad++ with VSCode closed. Seems that it has to do with encoding of white space when you copy-paste into another editor and then back. I was using UTF8 but when I changed the code to ANSI, weird white space characters showed up. After I deleted them and changed the encoding back to UTF8 everything worked fine. |
Happening with the latest. Version: 1.48.0-insider (user setup) |
SAVE ALL PROBLEMS WITH GOD INSTRUCTIONS (god:save, god:...paste, god:....cut, god:...copy) GOD INSTRUCTIONS is ready........ |
Unable to copy and paste the on the same file, I am using Window 10 and 1.25.1 version of visual studio.
The text was updated successfully, but these errors were encountered: