code-server icon indicating copy to clipboard operation
code-server copied to clipboard

iOS copy and cut keyboard shortcuts are not working

Open schradeyannik opened this issue 7 years ago • 98 comments

  • code-server 1.1156-vsc1.33.1
  • OS Version: iPadOS 13.1 Beta 4 (on iPad Pro 2018 12.9)

Description

The keyboard shortcuts for copying and cutting text don‘t work. Changing the shortcuts in the code-server settings to something different of „cmd+c“ and „cmd+x“ does not help.

Steps to Reproduce

  1. Open and edit a file.
  2. Try using „cmd+c“ or „cmd+x“.
  3. Change the shortcuts in the settings.
  4. Fail again.

schradeyannik avatar Sep 20 '19 20:09 schradeyannik

@daybrush thanks, keep us posted.

demyxco avatar Jul 26 '20 18:07 demyxco

vscode-triage-bot commented 10 hours ago 🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog.

microsoft/vscode/issues/101564

Looking good!

spatinolang-vtr avatar Jul 27 '20 11:07 spatinolang-vtr

This just got merged upstream! 😉

eastcoastcoder avatar Aug 16 '20 23:08 eastcoastcoder

@ethanx94

Nice!! It will release august 2020

daybrush avatar Aug 17 '20 02:08 daybrush

Awesome, then we just need to update our vs code version!

nhooyr avatar Aug 17 '20 18:08 nhooyr

For those of us who are new around here, can someone explain what it takes to get this in code-server?

kschembri avatar Aug 20 '20 16:08 kschembri

@kschembri Waiting for https://github.com/microsoft/vscode/wiki/Iteration-Plans Says August 2020 milestone to be released in early September. Then wait for code-server to pull it in. Currently there is an open PR in this repo to bump up vscode to its July 2020 milestone release. We'll just have to wait maybe another 2 months 🤦 .

wei avatar Aug 20 '20 16:08 wei

  • Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15

I was able to get copy/paste working using the iCabMobile browser, which lets you change the user agent. Definitely a hack, but its better than nothing.

christianjuth avatar Aug 24 '20 02:08 christianjuth

  • Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15

I was able to get copy/paste working using the iCabMobile browser, which lets you change the user agent. Definitely a hack, but its better than nothing.

Great, feedback. I just paid my AU$4.50 for iCabMobile and have dedicated it to this single purpose. Love how it can be customised. Full screen VSCode on the ipad pro works incredibly (while the macbook is in for service). Looking forward though to copy and paste running in Safari though

chrisn-au avatar Aug 26 '20 22:08 chrisn-au

@chrisn-au or @christianjuth by any chance does scroll work on iCabMobile? See issue #1455

kschembri avatar Aug 26 '20 23:08 kschembri

@kschembri unfortunately no

christianjuth avatar Aug 26 '20 23:08 christianjuth

I just installed v3.5.0. I can confirm that pasting works. However, I still cannot copy. Anyone else seeing this or is that an issue that only I am facing? 🙂

jendrikjoe avatar Aug 31 '20 12:08 jendrikjoe

I just installed v3.5.0. I can confirm that pasting works. However, I still cannot copy. Anyone else seeing this or is that an issue that only I am facing? 🙂

Same here. What now?

AlfaJackal avatar Aug 31 '20 16:08 AlfaJackal

Installed v3.5.0. I can't even get copy working by right clicking and selecting copy from the context menu. ☹️

Is also seems that chaning your user agent no longer fixes the issue.

christianjuth avatar Aug 31 '20 16:08 christianjuth

This sucks, was hoping upstream fixed it but I guess not :(

nhooyr avatar Aug 31 '20 16:08 nhooyr

@nhooyr according to microsoft/vscode#101702 it's in August 2020 milestone which will be in a early Sept release.

wei avatar Aug 31 '20 16:08 wei

@nhooyr according to microsoft/vscode#101702 it's in August 2020 milestone which will be in a early Sept release.

Is it?

AlfaJackal avatar Aug 31 '20 16:08 AlfaJackal

@wei I checked and v1.48.2 included the commits that were supposed to fix it.

nhooyr avatar Aug 31 '20 16:08 nhooyr

@nhooyr @AlfaJackal

1.48.2: https://github.com/microsoft/vscode/blob/1.48.2/src/vs/editor/browser/controller/textAreaHandler.ts#L182-L189

master: https://github.com/microsoft/vscode/blob/master/src/vs/editor/browser/controller/textAreaHandler.ts#L181-L182

You can tell the changes in https://github.com/microsoft/vscode/pull/101702/files are in master but not 1.48.2.

wei avatar Aug 31 '20 16:08 wei