microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
160.16k stars 28.05k forks source link

Visual Studio Code for ipad #70764

Open allessandrojs opened 5 years ago

allessandrojs commented 5 years ago

can use the Visual Studio Code on a ipad

Altiano commented 3 years ago

I think, that iOS apps will be able to run natively on MacOS, it should be really possible the opposite.

austinstudio commented 3 years ago

I tried to use code spaces from github to be able to use VSC on my iPad Pro. I figured out, similar to what was said earlier in this thread that I could get it to open in Safari on iPad without any changes, Chrome on iPad but only in desktop mode.

The problems really came when I wanted to run the code. It creates a localhost link with my node app that auto forwards to another URL for the container but that didn’t work. I couldn’t get it to open in either Safari or Chrome. In Chrome I had to turn off pop ups to make it even go tot he URL, but then it wouldn’t ever load the actual content. It sat there and spun for a while.

On safari, the CMD+Click didn’t ever open the popup. I will continue to give it a shot and see if I can make it work because I really want to be able to code on my iPad with a decent code editor.

stephenwf commented 3 years ago

@austinstudio If you go to the iPad safari settings and turn off "Disable pop-up windows" or something similar that will allow you to command click.

Shame that copy and paste doesn't work with code-spaces though!

marfier commented 3 years ago

I registered for Codespaces shortly after it came out, and it told me that they'll be "emailing me shortly" to "join early access." But it's been many months, and I never got the email. It's still saying that they'll be emailing me shortly.

liudonghua123 commented 3 years ago

I registered for Codespaces shortly after it came out, and it told me that they'll be "emailing me shortly" to "join early access." But it's been many months, and I never got the email. It's still saying that they'll be emailing me shortly.

me too 😢

mixflame commented 3 years ago

No you can't use visual studio code on an ipad

Disane87 commented 3 years ago

GitHub recently launched Codespaces in closed beta which could be a good way to go on iPad. I'm in the beta and will use it for the next few weeks to have an insight what it could be in final versions

mixflame commented 3 years ago

Its not fucking vscode for ipad shutup

On Thu, Aug 27, 2020 at 5:07 AM Marco notifications@github.com wrote:

GitHub recently launched Codespaces in closed beta which could be a good way to go on iPad

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/70764#issuecomment-681880992, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAND323W2VT6W3TMXFJQWCLSCY475ANCNFSM4G7RRXKQ .

-- Jonathan Silverman tel: (720) 757 7054

marfier commented 3 years ago

@mixflame what is up with you?

mixflame commented 3 years ago

I am ok friend. I mean no threats

On Mon, Aug 31, 2020 at 3:08 AM GalacticLion7 notifications@github.com wrote:

@mixflame https://github.com/mixflame what is up with you?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/70764#issuecomment-683661509, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAND326AQD46AGOY3SHOGZ3SDNSAVANCNFSM4G7RRXKQ .

-- Jonathan Silverman tel: (720) 757 7054

cvscade commented 3 years ago

Well it's going to take way too much effort to setup compilers for languages (Python, JS etc) but an IDE is very much possible, you can even partner with cloud services like Codespaces, Repl.it, Glitch etc. I'd love to not have to use safari for a vsc experience. I'd even live with a really primitive version of VSC as long as I can program smoothly.

marfier commented 3 years ago

Apple Silicon will be based on the A-series chips found in iPads.

Right, same chip but different OS, which means totally different API, unless atom is going to use SwiftUI.

The most plausible way is actually Apple makes macOS available on A12Z iPad Pro. Where ARM mac and iPad Pro use same chip, but it is mostly a market decision instead of a technical problem.

Not really. Both iOS/iPadOS and macOS are Darwin distributions, the kernel developed by Apple, forked from BSD. I'm not saying porting would be straightforward, but the fact that they have the same architecture and kernel would probably help in some way.

AckerApple commented 3 years ago

For an iPad native experience:

  1. Get code-server running (local computer/raspberry-pi or public hosted just have an IP) guide here
  2. Download from app store servediter
  3. Enter your code-server settings into serveediter app and you are golden (Self Hosted Server)
mixflame commented 3 years ago

Good job @Acker Dawn Apple

On Tue, Sep 22, 2020 at 7:45 AM Acker Dawn Apple notifications@github.com wrote:

For an iPad native experience:

  1. Get code-server running (locally or public hosted just have an IP) guide here https://github.com/cdr/code-server/blob/b509063e143bbf74b74ec295260c4fd5f6332f71/doc/guide.md
  2. Download from app store servediter https://apps.apple.com/us/app/servediter-for-code-server/id1504491325
  3. Enter your code-server settings into serveediter app and you are golden

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/70764#issuecomment-696731982, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAND326XPZGTXW6GNDOQ5SLSHCTA5ANCNFSM4G7RRXKQ .

-- Jonathan Silverman tel: (720) 757 7054

AmberCheng commented 3 years ago

looking for it

patmuk commented 3 years ago

With the ARM builds officially supported (https://code.visualstudio.com/#alt-downloads) is there a way to create a (native running) iPad OS app?

mxr612 commented 3 years ago

I think the ipad ver will comes with the mac on ARM.

lijh8 commented 3 years ago

The iSH Shell ( http://github.com/ish-app/ish ) already brings vi, make, gcc, gdb, .. on iPad and iPhone.

It'll be even better to have an editor with more convenient outline/symbol feature than vi on iPad and iPhone.

nixon89 commented 3 years ago

Надеюсь что когда-нибудь все-таки разработчики сделают версию для iPadOS и переведут этот тикет в done

cvscade commented 3 years ago

Safari and other iPad browsers are very problematic when it comes to using online IDE's (visual studio online). I'm not a big fan of that honestly. Maybe a wrapper/interface for Codespaces except it is in a form of an application? I don't need a local programming environment, nor am I asking for one. I have no need or will to install python3 on my iPad and be limited by restrictions

cvscade commented 3 years ago

Adding to this: Microsoft isn't forced to make use of Electron; hence the iPad version will not need to be made using Electron, and I'm sure there's no Electron library for iPadOS/iOS. An UI can just be done in Swift, y'know what I mean?

AckerApple commented 3 years ago

Going on several months of using the App Store app Servediter which is VSCode as an App Store offering (does require running CodeServer elsewhere).

Experience is near perfect and I am still very satisfied coding on iPad DAILY/EVERYDAY. When traveling, I take Raspberry Pi 4 and plug directly into iPad via usb C and the whole experience just works under one cable. I am very much enjoying the entire experience, that magic keyboard is no lie either, greatness there.

I code on my iPad Pro everyday.

Altiano commented 3 years ago

how about the battery ? @AckerApple

AckerApple commented 3 years ago

The battery exceeds expectations. The 4” touch screen on my Raspberry can be turned off and I generally leave it off. When 4” touch screen on and bright, the lighting indicator for low power comes on in its infrequent manner. I have a fan on my Raspberry too that is 100% always on.

I absolutely recommend the Raspberry to iPad approach, its slower than Mac mini but it works without any disconnect reconnect issues. And best best transistionless success came from networking naming Pi so that I never have to use IP, ever (plugged into iPad, or Pi on its on WiFi I still access same way by name)

The love is in the iPad Pro touch and iOS ui. I enjoy it more than a laptop even though be it you still can’t like do every every thing but coding Vs Code on iPad with magic keyboard is totally worth it and my mind loves the choice of sometimes touching screen and sometimes track pad, an amazing and practical experience.

tiivik commented 3 years ago

Going on several months of using the App Store app Servediter which is VSCode as an App Store offering (does require running CodeServer elsewhere).

Experience is near perfect and I am still very satisfied coding on iPad DAILY/EVERYDAY. When traveling, I take Raspberry Pi 4 and plug directly into iPad via usb C and the whole experience just works under one cable. I am very much enjoying the entire experience, that magic keyboard is no lie either, greatness there.

I code on my iPad Pro everyday.

The biggest pet peeves I am still experiencing today is applications going into background mode and causing refreshes. Swapping between a few applications, returning to any code editor just to see it reload losing all tabs, windows, shell connections is frustrating. Been experiencing that with running apps like PlayJS, code server, theia, in safari editors, pretty much same across the board.

The only rock-solid experience (in terms of establishing and keeping connection) I've had is running a mosh shell into a remote server with Blink Shell , but that means losing the GUI editor experience.

AckerApple commented 3 years ago

@tiivik m use Serveditor then. Entire app state is saved within the Server itself so even though my iPad stopped background running, the instant it refreshes everything is where I left it (minus open menus)

tiivik commented 3 years ago

@tiivik m use Serveditor then. Entire app state is saved within the Server itself so even though my iPad stopped background running, the instant it refreshes everything is where I left it (minus open menus)

The thing is, it gets unproductive real fast when the background tasks get eliminated a few times per minute (common occurrence in my workflow when alt-tabbing between browser and code). I guess it's a design choice of the iPadOS rather than any of the applications to kill them as soon as possible. Thanks for the recommendation though, I'll give it a try.

jerrygreen commented 3 years ago

I guess it's a design choice of the iPadOS rather than any of the applications to kill them as soon as possible.

I disagree: I don't experience such a problem with other applications (like browsers). You don't wait web pages to reload each time you switching between a browser and something else, right? So I guess it's poor architecture of the editors. They should probably cache things better, so they won't loose states so easily.

I haven't tried this Servediter yet btw, and I'm pretty suspicious about it. Will probably stay traditional, with VSCode running on my MacBook, for an another while. But if you try it with your projects, share a feedback here ;)

AckerApple commented 3 years ago

I have attached my recommendation for how I never have a memory issue coding and browsing

A5CFAA92-B8AF-44AA-9133-3CA9F1B66B11

jerrygreen commented 3 years ago

@AckerApple you use local mac-mini as your server? Interesting option 🤔

cvscade commented 3 years ago

The goal here is to natively run VSCode and not be assisted via our own devices but rather a cloud service or something. I'm not even looking for native support for compilers etc., I know better than to ask for that. Theia etc. again are browser based clients, and they have their own set of problems including selection issues etc. All I want is to feel home on iPad with a VSC like experience, and you can integrate it with Codespaces, Repl.it, Glitch, your own server etc. (This is optional again but it'd be helpful)

I myself have a Raspberry Pi 4, but I don't want to turn it on/keep it running all the time whenever I want to code. Cooling is already a huge problem even with a heatsink, I might get a inbuilt fan case for it but that's a future investment.

Recommendation for users who are looking for native Python or Node JS support, you can check out Pythonista 3 or PlayJS, there's another Python interpreter app I've forgotten the name of, you can do a quick google search to find it. These apps aren't perfect but I've had a pretty smooth experience w/em so far.

Note to those who say that apps already exist that fulfill this purpose, I want an official app and support from Microsoft and not some 3rd party company.

tiivik commented 3 years ago

I haven't tried this Servediter yet btw, and I'm pretty suspicious about it. Will probably stay traditional, with VSCode running on my MacBook, for an another while. But if you try it with your projects, share a feedback here ;)

Sure thing! I tab into the topic every couple of months or so and get excited while still reverting back to MacBook.

I have attached my recommendation for how I never have a memory issue coding and browsing

Yea that helps surely. I'm hoping for the day I can switch between full screen apps without losing application state though.

Water261 commented 3 years ago

The goal here is to natively run VSCode and not be assisted via our own devices but rather a cloud service or something. I'm not even looking for native support for compilers etc., I know better than to ask for that. Theia etc. again are browser based clients, and they have their own set of problems including selection issues etc. All I want is to feel home on iPad with a VSC like experience, and you can integrate it with Codespaces, Repl.it, Glitch, your own server etc. (This is optional again but it'd be helpful)

I myself have a Raspberry Pi 4, but I don't want to turn it on/keep it running all the time whenever I want to code. Cooling is already a huge problem even with a heatsink, I might get a inbuilt fan case for it but that's a future investment.

Recommendation for users who are looking for native Python or Node JS support, you can check out Pythonista 3 or PlayJS, there's another Python interpreter app I've forgotten the name of, you can do a quick google search to find it. These apps aren't perfect but I've had a pretty smooth experience w/em so far.

Note to those who say that apps already exist that fulfill this purpose, I want an official app and support from Microsoft and not some 3rd party company.

Someone was making a port of VSCode from the Electron Framework to Flutter, I believe the project died though.

AckerApple commented 3 years ago

Prediction: by 2022 Macs with Arm processors lead to touch screen laptops and this topic becomes extinct

theycallmeloki commented 3 years ago

with Servediter are you able to ctrl c or cmd c to copy or undo using cmd z? I've got a keyboard that's not a magic keyboard and I reckon those key events arent working because of it not being a native keyboard that safari is familiar with.

(slightly offtopic) Would the magic keyboard really make an improvement to productivity through code-server+Servediter on the iPad Pro?

AckerApple commented 3 years ago

In Serveediter I can copy paste using a Bluetooth keyboard, magic keyboard, and on screen touch methods. It works best in Servediter as opposed to browser with code-server because then ssl is needed.

Answer to off topic question: The magic keyboard or any keyboard that utilizes the pins on back of iPad is seemingly a must to me. Bluetooth is flawed. I recommend the Logitech Apple backed keyboards (again must use back of iPad for instant on)

Unrelated update: Dropped my iPad Pro hard in its corner where the magic keyboard does NOT cover... Nothing broke. Heart dropped out, dimple exists on corner where it hit directly. I was so thankful enough to make this update post that nothing broke.

LiLejia commented 3 years ago

Wait a sec. I just found the Kind of VS Code for in M1 MacBook Pro is iOS instead of Apple Silicon.

Screen Shot 2021-01-09 at 10 17 53 PM

Does it mean it it's actually very feasible to move it to iPad?

CRodriguez25 commented 3 years ago

image

eejd commented 3 years ago

The fact that it’s now on apple silicon suggests that if they could setup a ‘remote development’ only version... it should be trivial to release for iOS!

TechSnazzy commented 3 years ago

I hope they do. They should.

cvscade commented 3 years ago

Yeah, I hope this happens. :raised_hands:

jodfie commented 3 years ago

On my iPad Pro I thoroughly enjoy using Secure Shell Fish with it's native Files App integration (among many many cool features). Then i use Textastic and or Working Copy for Text Editing and GitHub. I am however setting up "PortablePi" a USB C RPi iPadOs Dev computer.

patmuk commented 3 years ago

About the „PortablePi“: been there, done that, with a RasPi4. However, there where two problems:

  1. The battery of the iPad is drained quite fast. -> I ordered a USB-C Y cable, which there are on the market for headphones. However, until it arrived I gave up of the project. Might be a solution, did not try it.
  2. It is not as fast as a native app. I don’t remember how slow, but it was noticeable. VNC Screen sharing is unusable slow. Having a headless VCCode on the Pi and using it through the iOS Browser was okish ...
  3. The Pi is ARM based as well, which means that my rust toolchain wasn’t supported. -> I tried a Linux VM running on the iPad instead (forgot the name ... USH?) - but that was even slower (running headless as well).

In the end I stopped tinkering. For my work we set up a remote Linux VM in GCP, and have our local VSCode connected (i.e. editing code on the server directly) which is as fast as local file editing! Did not try it with the iPad (browser) VSCode and I don’t know if a small, free GCP VM is powerful enough - but that might be a better setup!

Let us know if you follow one of this routes, curious to hear about your insights.

Nevertheless, in all these setups a native running VSCode (well, electron) would surely speed up the usage, no matter what the server is.

GaaneshT commented 3 years ago

Is there any progress on this? I'm thinking of getting the A14x Ipad pro soon and if vscode is available then, it is a huge turn-on!

Jason5Lee commented 3 years ago

I just need a VSCode remote client on iPad please make it happen.

AckerApple commented 3 years ago

Ya’ll need to catch up and read the comments. I’ve been coding on an iPad for a year now and it’s absolutely changed my life

Perhaps it’s past time to do a YouTube video on it

DF82FF69-23DE-4D78-BEBF-F0AF0B667A52

patmuk commented 3 years ago

How is your power consumption with Power+Servedit? I only used it in tests, but the batterie lost its power significantly faster. Do you connect a battery over an Y-cable? Or do you not observe this problem? I did not tested that - but it looked that a full battery of my 12” iPad Pro would be drained in max 2h.

AckerApple commented 3 years ago

When home, as seen in lower mid-left corner of previous screen shot, I am connected to a Mac mini which is most awesome most performant favorite setup. I am a huge Raspberry Pi guy and so on the go I do use the single usb-c cable that powers the Pi (not all usb C cables made equal so I labeled the one that does work)

The dual screen, as seen in screen shot, is a favorite and often used config. No doubt, some curves exists but I am so natural at them, such as my escape key is the bottom left globe key. The Magic Keyboard track pad not scrolling is largest running complaint but I use line-skipper extension to jump lines fast via OPTION+UP and OPTION+DOWN

I really should YouTube this for everyone. The iPad app Servediter + Code server is the key and meat of getting going. I’ve been coding for years on years and just the joy of coding in a more interactive iPad Pro fashion is worth any of the differences I have encountered. I truly code everyday on my iPad

Oh, original question => Battery => Hasn’t been a concern, unless I forgot to charge my iPad. I do pack a small hand sized battery that I can either keep the iPad going on OR I can even just solo run the Pi on the battery when Wifi or Phone tethering on

Attached, another great image => I am mid changing apps with VS Code running 2 editor tabs and two terminal windows # F667B11C-D438-4DC7-93B7-6D4A9CDE2A9B

patmuk commented 3 years ago

Thanks for the info. Looks like an enjoy-full setup :)

l0rem1psum commented 3 years ago

M1 on iPad, let's go!💪🏻