Vscode: Visual Studio Code for ipad

Created on 19 Mar 2019  ·  182Comments  ·  Source: microsoft/vscode

can use the Visual Studio Code on a ipad

install-update ios

Most helpful comment

After WWDC, iPad OS is going out, how about vscode for ipad ?

All 182 comments

I don't think there is any native app build for iOS

I have the same question at buy iPad pro recently

I guess there are too many limitations on iOS to get that actually work.

VSCode runs on Electron and is a desktop framework, meaning it only runs on Windows, macOS and Linux. The iPad runs iOS, a mobile framework so it most likely wouldn't make it, unless the team are perhaps thinking of makng an installer

On that note, if it is the case perhaps and android version too since I use my MediaPad M5 a lot for working and consuming media :>

I found this idea very good so I raised this question, the link shows an example

https://medium.com/@igorandreev/how-to-code-with-ipad-pro-make-your-2019-year-of-mobile-development-e4e678daab77

electronjs create multiplatform applications even for ios, so i believe it works for ipad.

There are a ton of challenges to get this thing running and feature full on the iPad due to iOS limitation.

What about a lite version which could utilize VSCode's Live Share? Run the full version on a desktop to do all of the heavy lifting and file management but use the iPad to remote edit?

Yeah, I’d love to see some sort of implementation as @sean256 suggested where I can use the horsepower of my desktop and all its abilities and work remotely on the iPad in the browser or an optimized app that supports special features needed for development like the ESC key.

@hugheba I'm about to try this one out https://github.com/cdr/code-server. Runs vscode on a remote server, then you can just use your browser. Seems intriguing....

@scottgrobinson code-server Looks promising.

I installed it and tried to set it up for my iPad, a lot of thing didn’t work like adding workspaces from filesystem, sync plugin installing extensions, etc...

It seems like it creates a seperate install from the VSCode installation, so I have to set up my environment all over again, hence trying to get the settings sync plugin to work (unsuccessfully).

Seems they’re offering a paid product but doesn’t seem like the functionality is quite there yet.

iOS has a deal breaking bug for something like https://github.com/cdr/code-server to work.

Certain and critical key events are not fired for input/textarea fields (arrow keys, system keys). VSCode's editor at it's core depends on these missing key events. I tried a nasty hack where I would intercept i,j,k,l with the only working modifier (alt) events and rewrite the event to look like arrow keys. It's terrible but I did get the editor sort of working.

Apple needs to fix this. I sent an "angry rant" to an old friend of mine who works with the UIKit team so they know...

This could be very intriguing for iOS.

Still other framework things that would need to be solved but it is very cool.

As VS code already released the "remote development" extensions, it would be reasonable to have the VS code for iOS platform for the users that mostly work remotely via ssh to Linux server.
This would make iPad Pro users have a better IDE to work remotely.

App Store Review Guideline says:

2.5.6 Apps that browse the web must use the appropriate WebKit framework and WebKit Javascript.

I don't see why VSCode for iOS cannot use any other render engine, it doesn't "browse the web" after all.

Browser-Based Web Companion is under development (src: https://devblogs.microsoft.com/visualstudio/intelligent-productivity-and-collaboration-from-anywhere/ ).

In the future, you will be able to navigate to https://online.visualstudio.com and access any of your remote environments. Because Visual Studio Online is based on Visual Studio Code, it will feel immediately familiar, and benefits from the rich ecosystem of extensions you already know and love – while supporting both the Visual Studio Code workspaces, as well as Visual Studio’s projects and solutions. Additionally, it will support IntelliCode and Live Share out-of-the-box, which ensures it provides the rich collaboration and productivity features developers need.

Seems that it meets most requirements.

I think now that remote development is in-place, this seems like a perfect opportunity to launch VS Code as apps on iOS and Android, not just in the browser (since Safari kinda stinks), but actual (html-based) apps.

Yes please! With all of VS Code’s remote work a native VS Code iPad app seems like a no brainer. I’ve been desperate for my iPad to be a real productivity for years. It’s so close I can taste it!

After WWDC, iPad OS is going out, how about vscode for ipad ?

I agree... iPadOS opens up a whole new set of capabilities for what could be.
I think Having a text editor that is flexible and easily accessible will open up coding to a whole new set of individuals.

Someone was able to do this seemingly pretty easy.

https://medium.com/@ow/its-finally-possible-to-code-web-apps-on-an-ipad-pro-90ad9c1fb59a

Only use the remote SSH is perfect for ipados.I think it must be a cool thing!!!And we can try only use the kbd to coding.It is fantastic too!!

VSCode runs on Electron and is a _desktop_ framework, meaning it only runs on Windows, macOS and Linux. The iPad runs iOS, a mobile framework so it most likely wouldn't make it, unless the team are perhaps thinking of makng an installer

On that note, if it is the case perhaps and android version too since I use my MediaPad M5 a lot for working and consuming media :>

It would really really help if they did. I have to use both my iPad and MacBook in order to get stuff done and Visual still won’t work on my iPad due to the frame work needed. This sucks big time.

I don't suppose there's been any progress on getting a MVP/PoC of this working on i/iPadOS

I use Coda on my iPad Pro to do development work on a small DigitalOcean dev server. When I want to work on my desktop, I use VSCode's new Remote SSH extension to do the same.

It'd be awesome if we could get a "lite" version of VSCode that basically just offers the Remote SSH part (no local files). That's probably way more complicated than I'm making out to be, and honestly Coda is a great solution, but I love Code so here's hoping

Yeah!I am in the same condition with you!

在 2019年7月10日,下午3:15,Carlos Rodriguez notifications@github.com 写道:

I use my Coda on my iPad Pro to do development work on a small DigitalOcean dev server. When I want to work on my desktop, I use VSCode's new Remote SSH extension to do the same.

It'd be awesome if we could get a "lite" version of VSCode that basically just offers the Remote SSH part (no local files). That's probably way more complicated than I'm making out to be, and honestly Coda is a great solution, but I love Code so here's hoping


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Wouldn't it maybe even be possible to get a raspberry pi as dev server? Two scenarios come to my mind:

Raspberry Pi VNC

Connect Raspberry Pi to iPad via usb-c (the new Pi 4 has native usb-c plug) and iPads ethernet over usb-c. Have VNC active on the device. Connect with Jump Desktop or any other VNC client from iPad to Pi.

Raspberry Pi SSH/Coder

Same as above, only use either VS Code Coder server on Pi or just use Coda to build a SSH/SFTP connection to the Pi. This could also work over bluetooth instead of usb-c (https://gist.github.com/rcarmo/6ad6c09e904c35857bad2dd2769edf76).

Having a little "development box" that does the actual computing, working even if offline (while traveling), could be awesome. I just wonder if internet can be shared from iPad to the Pi with these kind of settings.

VScode remote for SSH as an app rather than try and use a web ide would be a massive improvement, I can't find a single ios app that's nearly as code as VScode would be.

I'd love for this to be a thing. I do all my development over ssh anyway and the 12.9" ipad pro is the perfect "terminal". Is this being looked at? Is there anything I can do to help?

@yanshuf0 The closest I've seem to find is using code-server [link]. This is a good setup when there is one server you are interested in using (you can use it on more obviously, but its a hassle to configure each one). I've also had issues with reliability using code-server, so sometimes it requires you to ssh in and restart the process.

A better alternative would be something like sshcode [link], since this will allow you to ssh into any machine and automatically start up a code-server instance. Better yet, local settings are synced between the client and host. However, there is no port for native iOS yet.. ( see the link ).

Did you guys try this for iPad https://panic.com/coda/

They are as well doing a new updates https://panic.com/nova/

Have VS Code server running on a mac now and connected to it via an iPad.
Made a typo in a filename.
How do I right click to rename?

@mrV25 Left click on the file name then press enter.

Wouldn't it maybe even be possible to get a raspberry pi as dev server? Two scenarios come to my mind:

Raspberry Pi VNC

Connect Raspberry Pi to iPad via usb-c (the new Pi 4 has native usb-c plug) and iPads ethernet over usb-c. Have VNC active on the device. Connect with Jump Desktop or any other VNC client from iPad to Pi.

Raspberry Pi SSH/Coder

Same as above, only use either VS Code Coder server on Pi or just use Coda to build a SSH/SFTP connection to the Pi. This could also work over bluetooth instead of usb-c (https://gist.github.com/rcarmo/6ad6c09e904c35857bad2dd2769edf76).

Having a little "development box" that does the actual computing, working even if offline (while traveling), could be awesome. I just wonder if internet can be shared from iPad to the Pi with these kind of settings.

I think this is a better approach 👍

Is there anyone working on this? Or this is still unplanned?

Is there anyone working on this? Or this is still unplanned?

have a try with code-server https://github.com/cdr/code-server

@changkun

Would be really great to have this!

Sounds good! We don’t need a full function VSCode for iPad. A small editor with only remote ssh is enough, extensions can be installed on the host.

It will be great! Please @microsoft

I've been using my Raspberry Pi4 4gb a bit and it has sufficient performance for nodeJS development. The iPad can tether wirelessly through Bluetooth, USB-C or Wifi. Bluetooth works good while leaving the Pi connected to a powerbank in a bag. With Coda on my iPad I've been able to get some work done during a plane flight, but I'm totally missing the autocompletion, syntax highlighting, autoformating etc.

code-server works pretty good, very similar to vscode. You can pin the web app to your home screen so it behaves similar to an real app, so no url bar. code-server will become ARM/Pi compatible this month according to the developer (https://github.com/cdr/code-server/issues/35#issuecomment-536569212). I'm pretty sure that code-server + iPad + external keyboard (Apple Magic Keyboard) will make for a very nice offline capable setup.

Even a native vscode lite with SSH host seems like a stretch, I believe a big challenge of vscode was building monacco, which will need a ton of work to be natively running on iOS (or android). All the plugins like eslint, prettier etc would need reimplementations, since they would need to run on the client device (iOS). I don't believe anyone would be so committed to build vscode from scratch just to be able to dev on an iPad. So our best bet, IMHO will be remote access or something like code-server.

Microsoft already have Excel, Word, Outlook etc. out for the iPad, it seems only logical to release a native client for Visual Studio Online too, whenever that comes out.

Textastic is a good code editor for iOS. https://www.textasticapp.com/

codesandbox.io works nicely on Safari. Has full VSCode editor embedded. Highly recommend for Desktop but don’t have my own iPad to fully test it there. Anyone else tried it?

@ee0pdt Yeah I believe it does work equally well as with full-browser based vs-code environments such as code-server. The problem isn‘t to find an environment where vs-code runs in a browser. It‘s that the keybinds rarely translate correctly.

iOS has a deal breaking bug for something like https://github.com/cdr/code-server to work.

Certain and critical key events are not fired for input/textarea fields (arrow keys, system keys). VSCode's editor at it's core depends on these missing key events. I tried a nasty hack where I would intercept i,j,k,l with the only working modifier (alt) events and rewrite the event to look like arrow keys. It's terrible but I did get the editor sort of working.

Apple needs to fix this. I sent an "angry rant" to an old friend of mine who works with the UIKit team so they know...

Concerning codesandbox.io, there are additional bugs when visited from the IPad:

  • The IntelliSense popup moves in accelerated manner relative to the Keyboard
  • The Keyboard doesn‘t open sometimes. Codesandbox.io added a custom „Keyboard Open“ button to mitigate this Problem. That needs to be ported to vs-code I believe (This isn‘t a bug on codesandbox‘s end, I just wanted to mention that here in case someone is actually implementing an IPad-friendly patch)

Adobe found a way to create a full version of Photoshop for iPad so Microsoft should be able to make a full version of VS code as well.

Adobe found a way to create a full version of Photoshop for iPad so Microsoft should be able to make a full version of VS code as well.

@TechSnazzy Sure they are, but are you willing to pay for it?

It took them 30 years so be patient ;)

while VSCode Remote Dev or something like the Coder remote solution are good for connected scenarios, I would still really love to see a stand-alone, offline, version of VSCode that can use local/OneDrive hosted files for basic HTML/CSS/Javascript development. Adding a decent javascript console would help debugging. Longer term I'd love to see PHP and MySQL living on my iPadPro as well (hey, a boy can dream right?!)

I believe this might actually be possible on the device but I haven't had time to look into it.

I have a 2018 iPad with a keyboard cover that I could dig out but I'm not sure how Apple handles app to app communication on iOS.

Essentially I would think you could run the VS Code remote server _inside_ iSH directly on the iPad, then connect to it from Safari - so you'd be working directly in Safari but the terminal would be connecting to iSH - I'm unsure if iSH has permissions to host a web server on the device though.

Couldn’t we make a thin client for remote development? I think this would be pretty great as most functionality of VS Code doesn’t involve UI extensions.

Honestly, a minimum viable product of this would only need to include a code editor and a file explorer. Though we might need to think of this in components (I do not have experience with IOS development, so please bear with me.) as in:

A code editor

  • Syntax highlighting
    This might be one of the most difficult parts and might require custom implementations specifically for mobile environments, though it might be able to run server-side.
  • Code completion

A file explorer

Post-MVP features

I would like to note that one component which isn’t strictly necessary, but which might be useful, is an integrated console.

@headmelted An app called _Infuse 6_ is able to “host” a website and or FTP service so I’m sure, if it doesn’t already, iSH could add support for that somehow.

But even if not, I think most of the core experience could be ported over to iOS. Sure we may not be able to use certain tools and or extensions but hey that’ll be like installing the Python Extension without Python installed and ready in the PATH (in an extremely generalised way), right? You could think of it as a whole new platform but with limited capabilities, which ironically it is.

I’m not an iOS developer, but I really think this would be a great application to have on an iPad Pro along with Photoshop, the Affinity Suite, iSH, the [in testing] GitHub app, and the new RDP Client.

@lazerl0rd, could you clarify what you mean by the following?

core experience

I would consider the code editing functionality of Visual Studio Code to be the main aspect we need to replicate. To be honest, it'd be a huge stride forward if we could just get a working proof of concept with a code editor, an FTP file explorer, and an SSH terminal working.

Flutter

Maybe we could initially develop the app using Flutter. That way anyone, including those of us who do not have access to a Mac (or an iOS device for that matter), could work on this project. As a bonus, it would give us a seamless cross-platform experience as Flutter is not only available for iOS and Android, but also for desktop and web.

Name

Has anyone thought of a name yet? I was thinking of calling it Visual Studio Code Lite as it wouldn't just be Visual Studio Code for mobile. It would be a reduced Visual Studio Code experience for all platforms if we aim for cross-platform support as would be the case if we use Flutter.

Proof of concept

I think we just need to get a minimum viable product or a proof of concept out as soon as possible to encourage people to get started with this, but I think we should get a design down before we do such a thing.

Bystander here but it seems iPadOS 13.4 apps can now interpret direct keyboard events ¯\_(ツ)_/¯ I’ll see if I can find the docs

UIPress having a new key event must have been what I was thinking of. Sadly I don't think this is the magic bullet but a good sign never the less

Ipad Pro and Magic Keyboard! It is prefect to be a development machine now! I cann't wait to buy it if I can run VScode or the other IDE on it

The iPad version will be awesome! At least one VSCode Remote version.

Now days, Apple just announced the new cursor for the iPad in iPad OS 13.4, perfectly for text selecting!!!!
I can't wait for the iPad version!!!!

Would love this. Happy to help where possible

@lazerl0rd, could you clarify what you mean by the following?

core experience

I’d say the core experience consists of the editor and feature set of VS Code without extensions, @thomasio101.

@lazerl0rd, alright, I think we are on the same page then!

I'm still doubting between recreating the Monaco editor in either Flutter or Swift or using the existing version through a system like React Native. I'm not familiar with the latter, so could someone else take a look at it?

Would love this. Happy to help where possible

@theonlydaleking, oh, of course you can help. I see you have quite a lot of experience with JavaScript, so could you possibly take a look at whether React Native is a viable option for this project? (I have used React, but I've never used JS for native apps.)

@thomasio101 I think you are missing the point if you reduce vscode to the editor part only. There is a whole lot of code editors build with swift/cocoa, and you could easily wrap Monaco or CodeMirror in a webview with react-native. But what about the huge list of plugins, intellisense, code formatting, linting and what about actually running the code you're writing?

Most of these issues can be solved with a lot of time and effort. But running the code is still an issue, installing some node_modules, compiling native code, etc. If its just about writing another sftp/webdav code editor, you could go and use Panic Code Editor or Textastic, they are quite excellent in what they are doing. And if you need some file upload/download to make the code run anyways, you could easily use a remote code editor like Cloud9, VSCode Server etc.

I wished I could use only my iPad Pro as a daily driver, but I can't. I can connect a RaspBerry Pi4 via usb-c though and use VSCode Server though, and it works nicely. And with added cursor support, its even better now. Guess it won't get any better than that for now.

Yeah, i think you guys are missing the point as well...

This just needs to essentially be a thin client to vs online and vs remote imo

@thomasio101 I think you are missing the point if you reduce vscode to the editor part only. There is a whole lot of code editors build with swift/cocoa, and you could easily wrap Monaco or CodeMirror in a webview with react-native. But what about the huge list of plugins, intellisense, code formatting, linting and what about actually running the code you're writing?

Most of these issues can be solved with a lot of time and effort. But running the code is still an issue, installing some node_modules, compiling native code, etc. If its just about writing another sftp/webdav code editor, you could go and use Panic Code Editor or Textastic, they are quite excellent in what they are doing. And if you need some file upload/download to make the code run anyways, you could easily use a remote code editor like Cloud9, VSCode Server etc.

I wished I could use only my iPad Pro as a daily driver, but I can't. I can connect a RaspBerry Pi4 via usb-c though and use VSCode Server though, and it works nicely. And with added cursor support, its even better now. Guess it won't get any better than that for now.

exactly, as for me, the result I want is to replace my MacBook(laptop) with iPad like what the slogan of iPad Pro said —— "your next computer is not computer".
Although you can build the other editor quickly by using some excellent node modules, how about the editor ecology, especially those plugins.. I can't image the experience when I using vscode or atom without those plugins. It's a huge work.

I've just began developing on my iPad Pro 2018 12.9", and it's driving me nuts. I've tried code-server from Coders, and it works well on desktop or laptop, but poorly on iPadOS. Shortcuts don't work, navigation is a pain, and not all extensions work. It would mean so much for a version of VS Code, at least a lite version of it, for iPadOS. Microsoft has most of their apps, including Azure and Office, already on the App Store. I'm still not sure why this hasn't already happened.

@GalacticLion7 It makes sense to port Excel, Word etc because its part of a paid suite. VSCode in comparison is free and it already works on Tablets (Surface), so why should they put a huge effort into building a completely new software product only to support a competing product and help get it traction for the one thing where Surface is better than the iPad: productivity.

@bkniffler, this is an open-source project! If we want the functionality, we'll make it!

And, @Uyarn, you've got a good point there. But I think we'll initially need to get VS Code's core experience to work, before we try getting systems such as extensions to work.

I encourage everyone to build stuff, but since the product you'd build, if done with flutter or swift, wouldn't really have anything to do with vscode except for maybe design similarity within architecture and visuals, I don't see why this needs to be discussed here. I'm genuinely interested in making vscode experience on iOS a thing though.

So, the one thing worth discussing here in my opinion, besides some complete remote solution, is trying to get vscode to run through a react-native webview on the device.

@bkniffler, whether or not work related to this concept belongs in this repository might strongly depend on the manner in which we implement it, and, thus, I'd like to go over some of the options;

A progressive web application (PWA)

We could make an installable version of the existing web implementations of Visual Studio Code.

An app using React Native (Or similar frameworks)

We could port the Electron implementation (Or the web implementation?) of Visual Studio Code to a mobile framework.

A full native rework

This option would involve emulating the Visual Studio Code experience in a native application. It could potentially include support for VS Code's remote functionality. A potential hurdle to reworking the VS Code experience might be in its licensing. (Does anybody know if there are legal limitations on reusing (part of) Visual Studio Code's design?)

@thomasio101 [opinion only] I think from a project management standpoint, it will be easier to get other developers to jump on board if it is a React Native project. Porting from Electron to RN is more straightforward than electron -> Flutter I believe. Definitely more straight forward than electron -> Native

[anecdotal only] - I think it's always important to start with the user and work backwards (thanks Steve Jobs for the quote) the ultimate end-goal for me would be to have the ability to work on a project at work, git push at the end of the day, then on the way home I could bust out the iPad, git pull the latest commit and continue working on it on the train on the way home.

In terms of licensing and the VS design - this package is under MIT which I gather would include the design files.

I think this would be great for people using iPad Pro’s as a coding machine and using it on the go.

@bkniffler I think Microsoft should take the same approach they did when they made mobile versions of their Office apps, by sacrificing some features in the desktop versions to make it "lite."

Edit: Honestly, I take back what I said. I would benefit more with a full version of VS Code just like the one on desktop. I can't stand a lite version like how they did when they made iOS versions of their Office apps. Also, please give us an update. We have never gotten a comment here by any officials, and it's been a year. (@chrisdias)

Hi @chrisdias, this issue was assigned to you in March 2019, are you believe you are the right person to discuss about it? if you not, can you assignee another VSCode member to discuss the possibility to get that feature done? since this issue has more than one year without any comments by you.

I think this Issue got forgotten about or ignored. It's been a year, yet still no comment or update.

Can we try to contact the team directly, @GalacticLion7 ?

Besides that, I'd like to try getting the Monaco editor to run in React Native soon.

Porting VS Code to the iPad is not on our roadmap. While it may technically be possible to bring over the core editor, you really have to take into account the extensions to have a viable development experience. And that's a big problem, many extensions simply can't run on the iPad because there is no underlying version on iOS (e.g. Node, C++, Rust, etc.).

Instead, running VS Code in the browser with Visual Studio Online provides you a full development experience on the iPad powered by an environment where you can use all of your extensions, have a terminal, etc.

You can use a hosted VSO environment, or you can bring your own. For a more native experience, providing PWA support is on the VSO roadmap.

Thank you @chrisdias. However I never thought about running full vscode on ipad, only a remote mode, where I can manager easily connect on my Mac or on a dev machine running on cloud or even a raspberry pi. A native client make the editor more fluid and take advantage of keyboard shortcuts etc.

Anyway, thank for you answer!

Ditto what @felipefdl said. My interest in VSCode on the iPad is so I can remote in to a Linux server in the cloud and remotely edit the code. I don't have any interest in developing on my iPad; just use it as a smart terminal.

Also waiting for the same thing, just a "Remote mode client" for the ipad

@felipefdl @marcusrugger @rcanoff this already exists. You would use code-server, which has been discussed here already. It's fine on desktop, but it is not optimized for iPadOS at all. To name a few issues, shortcuts don't work, navigation is very hard, not all extensions work, and it's laggy. Not the contemporary experience you're used to on iPadOS. You can see people on code-server's Issues page keep on complaining about the same issue.

And @chrisdias, VSO doesn't work on iPadOS:
https://imgur.com/ggxjN9y

Even if it just got added to the whitelist, it would still not be a good experience for the same reasons I listed above.

So I really do think that a fully native experience is what would be suitable. I don't see why extensions would be an issue, since people have already done it before:

Rust: https://apps.apple.com/ae/app/rust-programming-compiler/id1486323711
C: https://apps.apple.com/ae/app/c-programming-language/id499545918
Python: https://apps.apple.com/ae/app/pythonista-3/id1085978097
Java: https://apps.apple.com/ae/app/pico-compiler-java-ide-api/id992268206

Emulation is always an option, if something comes in the way.

The editor apps on Apple Store, and those apps is pretty bad experience, it's a platform not explored yet for developer tools, if @microsoft go on it, it will be a reference there. You guys can sell it, bundle on office 365 license, I don't care, I will pay for it. The only app is doing some similar that is the guys from @TablePlus it's SQL client, and it is amazing app.

@GalacticLion7 just looking at the 'C' app, it says you have to pay for compilations and internet connection is required. I'm sure you just send your code over the wire and they compile it for you for a price. This isn't native. All vscode would have to do is create a client app to use the remote ssh connection.

@yanshuf0 I didn't have high doubts about the C IDE I linked, but this one guarantees that it works offline and has a 5-star rating. The point is, while I wouldn't recommend using these poorly-written apps on a regular basis, it proves that any programming language can easily be compiled and run natively on iPadOS. Even if something comes in the way, emulation will always be an option. Just because these developers didn't do it properly, it doesn't mean that the fantastic developers over at VS Code can't do a much better job.

There should be more activity here.

Guys, you were begging for VSCode teams opinion on this matter and now you got it. Its not on their roadmap and there is probably a lot of reasons for that, one being the missing build tools. As you noticed @GalacticLion7, there is ways to compile c++ or interpret ruby/python/js, but these ways things do need to be implemented individually, while VSCode can just use default tools already available for each platform, as long as the use installs them (like cmake, nodejs, etc). They would need to build the whole build tooling, they would need to reimplement plug-ins, rewrite the whole UI (since its written in CSS which doesn't work on iOS), and rewrite lots of the core; its just not happening.

I don't think there should be that much more activity over here, because nothing meaningful can be said anymore, and I fear if the discussion continues to go back and forth like it currently does, the issue will just be locked. Its time for action and involvement if you want the situation to change. Start working on the react native port, try doing something new with flutter or get into code server to improve the experience on iPad. Make sure to link the repository you're working on to make others aware of it or link any alternatives you find along the way.

I don't think there should be that much more activity over here, because nothing meaningful can be said anymore

We can continue to politely express our desire for a native app with remote capabilities. The only way the roadmap will change is with clear user demand.

It seems like the feature request may not be clear. Maybe we should be asking for a Visual Studio Online iPad app. Compiling and running on local device is not going to happen anytime soon due to Apple restrictions. But something could run in remote/cloud mode and that would provide a lot of value to a lot of people. And the native app experience will be much better than a web browser experience.

Yes, but that's the point @forrestthewoods. We're not asking for a new feature, we're basically asking for a completely new product. If you want to express desire, adding a thumbs up to the first post is a great way. If you want to propose an iPad app for Visual Studio Online, there is a dedicated place to submit feedback and feature requests which is https://github.com/MicrosoftDocs/vsonline/ and I'm pretty sure you're more likely to get official responses over there since it is directly related to that specific product.

There is an open issue to track Safari support for vsonline here https://github.com/MicrosoftDocs/vsonline/issues/33

I agree that opening new issue for "iPad app for Visual Studio Online" in https://github.com/MicrosoftDocs/vsonline/ repo is the best move.

@bkniffler the whole point of this is to debrief for the team about a VS Code on iPadOS. It's not on their plan yet, but it doesn't mean it can't ever be.

Remember what I suggested, which is for Microsoft to take the same approach they did when they made iOS (and Android, but that's not related) versions of their Office apps from their desktop versions. They rewrote a lot of the code anyways, so I don't see how it could be any different for VS Code. I'm not completely sure about what you meant on how they have to do each language individually, but it's not much effort to implement the languages that users want to use. It's just putting and maybe even emulation, similar to the IDEs I showed earlier.

About plugins, remember that none of the plugins in the desktop versions of Office work with the mobile versions. So Microsoft could rewrite supported versions of the most essential ones, like the Java or Python extension packs, or eliminate it all and just keep it simple with syntax highlighting. Sure, you won't get all the plethora of plugins you have on desktop, but maybe there could be a similar API so people can choose to make plugins. Besides, what would you expect on such a port? Just like how the mobile versions of Office are lite.

I also wanted to point out that I'm pretty sure there are people here who thought that this a stupid idea. People have always portrayed iPad so incapable that it's simply a Netflix or e-book brick. However, ever since the iPad Pro and iPadOS got released, it completely altered that. To name a few, I went paperless using my iPad Pro as a note-taking device with GoodNotes 5 and edit video with the pro-grade LumaFusion (it's almost like Final Cut). Also, the A12X Bionic is faster than most PCs out there. In other words, the iPad Pro and iPadOS is also an evolving, professional, distraction-free, productivity machine. It has replaced my laptop for everything but development on VS Code, which I still have a desktop for. The reason why I'm saying all that is for people that are not too sure about whether the iPad is okay for development.

I get that there is a chance it may all go downhill and the developers close this issue, and I won't complain, since I get how these requests work. I just want to make sure the developers understand my points above so I can ensure that the variable "iPad is just a Netflix and gaming brick" is not what lead them to make their decision.

There is an open issue to track Safari support for vsonline here MicrosoftDocs/vsonline#33

I agree that opening new issue for "iPad app for Visual Studio Online" in https://github.com/MicrosoftDocs/vsonline/ repo is the best move.

That would be fine too.

I would love to, one day, use my iPad as a sole developer machine. It is a serious beast and in a year, I'm sure, it will have loads of great productivity apps. But I'd like to be realistic about it. Stating that it's "not much effort" does not help at all, because it will take a lot of effort to build the product you're asking for. To give you an example, try to find any resources for example of how to compile c++ on the iPad, you might be surprised about the lack of resources. Its not just a matter of apt-get install cmake. Look at https://github.com/mceSystems/node-jsc to see what it takes to run nodeJS on an iPad. Running the code remotely is a different matter, but then again I'm asking, why not participate over at https://github.com/cdr/code-server and maybe make a react-native port that will communicate with the code-server backend?

The office for iOS analogy does not help either. It was just a strategic decision as a result of Microsofts move to react-native (https://blog.appfigures.com/microsoft-goes-all-in-on-react-native-for-their-mobile-apps/), and part of a product that generates a big chunk of their revenue (you can look into their annual report if you're keen). Keep in mind, vscode is basically a free open source tool that might or might not one day replace Visual Studio. But that's also why I linked the visual studio online project, which in comparison is a paid tool that will most likely be more open to a huge task like having a dedicated iPad app, since they will be able to generate revenue off of it.

So yeah.. you can downvote my answer as much as you like, but let me state this clearly: Saying things like "microsoft, you are a huge company, why don't you do vscode for iPad" or suggesting them to adapt their roadmaps just for a few people in here will not help much. Making a product that gains serious traction, on the other hand, might help a ton. Participating at code server might help a ton, since its an open source concurrent product to their visual studio online, and if an iPad app makes it an even better tool with a larger community, they will most likely notice.

Here is a simple implementation of monaco editor as a webview inside a react-native app:
https://github.com/bkniffler/vscode-native

Its only meant for dev mode currently and its only a POC of how easy it is to embed the editor in an offline app. From there on you could go and add remote ssh or try and implement https://github.com/JaneaSystems/nodejs-mobile, which will not be easy but definitely possible.

Full vscode on iPad, is almost improbable, but it's a second step for sure. The remote vscode on ipad is a first step, and it's a lot less effort, because, the extensions, terminal, and everything else will run on remote server. (as code-server but with native app).

+1 for VSCode remote and ssh support on the iPad. I'm already using remote SSH to my self-hosted machine so I only have to have one machine set up for dev. Having an iPad app to remote SSH into the dev machine would be fantastic!

@chrisdias

Instead, running VS Code in the browser with Visual Studio Online provides you a full development experience on the iPad powered by an environment where you can use all of your extensions, have a terminal, etc.

This is exactly what I want though; Visual Studio Online in a browser but without the browser chrome - i.e. a web view. This would be easy if iOS had PWA support, but it doesn't. A bonus would be being able to run it without any extensions but connect to machines over SSH

@chrisdias

Instead, running VS Code in the browser with Visual Studio Online provides you a full development experience on the iPad powered by an environment where you can use all of your extensions, have a terminal, etc.

This is exactly what I want though; Visual Studio Online in a browser but without the browser chrome - i.e. a web view. This would be easy if iOS had PWA support, but it doesn't. A bonus would be being able to run it without any extensions but connect to machines over SSH

IOS does have PWA support. It's possibly more limited than other operating systems but it's there. I have twitter installed on my iPad as a PWA.

Its not very obvious, you have to open the site in Safari, tap share, then tap Add to home screen. I believe the prompts you get on Android are not yet supported on IOS.

Anyways not sure if this helps, but PWA support for VS online sounds like it might be possible?

@MaxFletcher, PWA support would also provide us with support for other mobile devices, not just for the iPad.

@bkniffler you're oversimplifying my points. First of all, you're making it look like I said that it's "not much effort" to make the whole thing. I was simply referring to the IDEs I linked above that successfully compiled external code offline. I may be wrong, but if these people were able to do it, who, judging from their other apps and the UI, are not very skilled yet (except for the Pythonista one, they're great), then I don't see how it would take more effort for a larger developer entity like Microsoft do the same thing. For the Node.js runtime, you would nodejs-mobile, which is much more complete and easier to use than nodejsc, which was last updated on October 2018.

The reason why I'm hoping for a native app instead is for completely offline work. I just don't see what's the point of remotely SSHing to your desktop, as you would need an internet connection on your iPad. We need to take advantage of its portability. Sure, there is a cellular model, but usages will be high. However, for the very least, compatibility for VSO or code-server on iPadOS would be okay too, as long as it's optimized very well for iPadOS to take advantage of the new adaptive cursor, keyboard shortcuts, etc.

Also, you should note that VS Code has some sort of indirect monetization. If you think about it, what kind of developers use it? Most likely web, since desktop or mobile usually prefer full IDEs. (And no, I don't think Visual Studio will replace VS Code, since VS is a lot more capable for certain workloads than VS Code) And then web developers would then need somewhere to put their work on, right? Enter Azure. Microsoft makes extensions for Azure in VS Code so that it’s easy to deploy there. They even show the extension on the recommendations without even searching for it. And they even have a free $200-credit trial. But then you would need a version control system for your code? Well, they have TFS. It supports Git, too.

I never said "Microsoft, you are a huge company, why don't you do VS Code for iPad." Read my first paragraph. Again, this Issue was made to debrief about some sort of VS Code on iPadOS for the team, whether it's a native app, VSO, etc.. It's clearly not a beg like how you described it. You're also stating that the web app will gain more traction than a native app, which doesn't make sense. Also, I don't what you mean on how this will reach a few people. Going back to my other comment (which is the case for a lot of the points on this comment), iPadOS a now-mainstream platform that is continually growing for many purposes. I'm even writing this on my iPad Pro, just saying.

I think we can all agree that it needs to be a dedicated app. Who makes the app is besides the point, we're all developers. The thing that we need to figure out is what technology (framework) will best suit the project. Create a Git Repository and get to coding. Love the challenge, live for the finished product. I'm gonna take a crack at it in Javascript, using vue and nativescript if at all possible. I'll post more info in the coming weeks. Happy coding to you all... stay safe.

@jarvon is there a team or a group of people who will get involved also are we thinking pwa or something else ?

I think there is already some decent PWA available like code-sever (self hosted) or stackblitz. I'd love to see a react-native approach with an embedded Monaco editor inside a webview like here https://github.com/bkniffler/vscode-native

First step would be to get official mobile browser support for monaco editor or at least fix critical bugs. Related issue here https://github.com/microsoft/monaco-editor/issues/246. There are no resources for this except one.

There is a monaco editor ios app running in react native. Made by @hemantasapkota called Code Playground you can download it from App Store here https://apps.apple.com/us/app/code-playground/id1452106609

In this issue https://github.com/microsoft/monaco-editor/issues/1365 @hemantasapkota mentions sending PR with some of the mobile support fixes for monaco.

Also here https://github.com/hemantasapkota/goplayground/issues/2#issuecomment-475467975 @hemantasapkota talks about a possibility of making some of his work open source

Should the title be changed for iPadOS and add more labels to this Issue?

i would love dedicated vscode on ipados!!! any update from the team?

@bkniffler , I love that react-native project. Is it usable? And if so, what are the instructions to get it on an iPad Pro? Thanks, in advance.

It’s really just a proof of concept for offline monaco editing, but it doesn’t do anything else right now, no loading or saving of files and no running of code. I’m hoping that it or something alike could lead a way to iPadOS Vscode

I think we can all agree that it needs to be a dedicated app. Who makes the app is besides the point, we're all developers. The thing that we need to figure out is what technology (framework) will best suit the project. Create a Git Repository and get to coding. Love the challenge, live for the finished product. I'm gonna take a crack at it in Javascript, using vue and nativescript if at all possible. I'll post more info in the coming weeks. Happy coding to you all... stay safe.

Hey. Any update?

I think we can all agree that it needs to be a dedicated app. Who makes the app is besides the point, we're all developers. The thing that we need to figure out is what technology (framework) will best suit the project. Create a Git Repository and get to coding. Love the challenge, live for the finished product. I'm gonna take a crack at it in Javascript, using vue and nativescript if at all possible. I'll post more info in the coming weeks. Happy coding to you all... stay safe.

I’m willing to help, link to the project?

I am willing to help as well.
I think it should not be that difficult to port Electron js code to React Native. Do we have any updates/repo/etc?

On the meantime, I will also research about electron ports to iOS and Android.

I am willing to help as well.
I think it should not be that difficult to port Electron js code to React Native. Do we have any updates/repo/etc?

On the meantime, I will also research about electron ports to iOS and Android.

You could use NativeScript, which is like Electron for mobile.

I think we can all agree that it needs to be a dedicated app. Who makes the app is besides the point, we're all developers. The thing that we need to figure out is what technology (framework) will best suit the project. Create a Git Repository and get to coding. Love the challenge, live for the finished product. I'm gonna take a crack at it in Javascript, using vue and nativescript if at all possible. I'll post more info in the coming weeks. Happy coding to you all... stay safe.

I'm too busy to help code right now, but I'd love to beta test! I've been waiting forever for this!

I'm honestly losing hope at this point. The whole thing has been going on 4 years (including suggesting Monaco support for mobile at microsoft/monaco-editor#246), and we have gotten very little intervention from the team.

Ok, I know the folks at repl.it are developing a mobile app of their own. I understand they're loosely based on vscode. To me that sounds like an awesome mix. What do you think? Also you're right. We might be good at our respective areas but this can´t happen without intervention from the core team.

I'm honestly losing hope at this point. The whole thing has been going on 4 years (including suggesting Monaco support for mobile at microsoft/monaco-editor#246), and we have gotten very little intervention from the team.

I think this gains relevance due to iPadOS getting more desktop-ish. Also imho it would be a sufficient first step to have a „vscode client“ native for iPadOS that can connect to a vscode instance running on a remote, like already available through a plug-in https://code.visualstudio.com/docs/remote/remote-overview. This is similar to projects like code-server, but would have the advantage of working with vanilla vscode on the remote.

On the other hand MS might not want to cannibalize their own offering https://docs.microsoft.com/visualstudio/online/overview/what-is-vsonline

@benjaminbauer This is partially possible today using VS Online with either a cloud or self-hosted environment. VS Online CLI Reference
Problem is that Safari is not fully supported right now, but support may be coming -> https://github.com/MicrosoftDocs/vsonline/issues/362#issuecomment-609518846

@benjaminbauer This is partially possible today using VS Online with either a cloud or self-hosted environment. VS Online CLI Reference

Problem is that Safari is not fully supported right now, but support may be coming -> https://github.com/MicrosoftDocs/vsonline/issues/362#issuecomment-609518846

Or using directly Code-Server plain or in a Docker env.

Or using directly Code-Server plain or in a Docker env.

Yep, tried that and it's really good but a VS Online self-hosted env has some advantages:

  • Authentication natively backed by Azure AD (MFA, pwdless, ...)
  • no need to open ports from your server on the internet, no ssh or vpn tunnels to manage and setup. Also no certs, dns and public domain to maintain.
  • both are free but VS Online is officially maintained by MS so all extensions are downloaded natively from the marketplace

I'm honestly losing hope at this point. The whole thing has been going on 4 years (including suggesting Monaco support for mobile at microsoft/monaco-editor#246), and we have gotten very little intervention from the team.

I think this gains relevance due to iPadOS getting more desktop-ish. Also imho it would be a sufficient first step to have a „vscode client“ native for iPadOS that can connect to a vscode instance running on a remote, like already available through a plug-in https://code.visualstudio.com/docs/remote/remote-overview. This is similar to projects like code-server, but would have the advantage of working with vanilla vscode on the remote.

On the other hand MS might not want to cannibalize their own offering https://docs.microsoft.com/visualstudio/online/overview/what-is-vsonline

You missed my point. I just said that there is very little intervention from the team in this issue, which has been going on for a year. (And I think that's a bad sign.)

Also, as much as I'm wanting a native VS Code on iPadOS (see my previous comments). You are just giving these suggestions that have been thoroughly discussed here already. We're just going in circles. So all we need is an update.

Or using directly Code-Server plain or in a Docker env.

Yep, tried that and it's really good but a VS Online self-hosted env has some advantages:

  • Authentication natively backed by Azure AD (MFA, pwdless, ...)
  • no need to open ports from your server on the internet, no ssh or vpn tunnels to manage and setup. Also no certs, dns and public domain to maintain.
  • both are free but VS Online is officially maintained by MS so all extensions are downloaded natively from the marketplace

Does online vs-code have a separate frontend or is it all self hosted online?

Does online vs-code have a separate frontend or is it all self hosted online?

You use the VS Online front-end (aka.ms/vso-login) and then select either a cloud azure environment or your own self-hosted server. (there's no separate frontend, only the agent on your own server connecting to VS Online service, no open ports.)

But, if you use iPad to login vs online (aka.ms/vso-online), on the top of the page shows the notice “Your browser isn’t currently supported ...”

But, if you use iPad to login vs online (aka.ms/vso-online), on the top of the page shows the notice “Your browser isn’t currently supported ...”

https://github.com/MicrosoftDocs/vsonline/issues/362
https://github.com/MicrosoftDocs/vsonline/issues/33

It might be official this is going to be huge!!!

Devs might be able to write software on iPad and iPhone with Xcode
https://www.cultofmac.com/703527/xcode-ipad-iphone-ios-ipados-14-rumor/

Hopefully VSCODE and other editors can then come to the iPad

It might be official this is going to be huge!!!

Devs might be able to write software on iPad and iPhone with Xcode
https://www.cultofmac.com/703527/xcode-ipad-iphone-ios-ipados-14-rumor/

Hopefully VSCODE and other editors can then come to the iPad

Wow, this is huge! I am totally fine with Xcode instead.

I'd also like to point to this reply though:

The hidden Xcode Preview app is present in iOS 13 and is a companion app for showing layout previews on device from the main Xcode app running on a Mac. Not to say you’re wrong, just an FYI for folks.

https://twitter.com/SteveMoser/status/1252197252887707650

Also, while I'd be happy to see Xcode move to iPadOS and it could mark a start for serious coding on iPad, Xcode and its codebase are in no way related to VSCode, so it wouldn't really change the situation for most folks here.

I'd also like to point to this reply though:

The hidden Xcode Preview app is present in iOS 13 and is a companion app for showing layout previews on device from the main Xcode app running on a Mac. Not to say you’re wrong, just an FYI for folks.

https://twitter.com/SteveMoser/status/1252197252887707650

Also, while I'd be happy to see Xcode move to iPadOS and it could mark a start for serious coding on iPad, Xcode and its codebase are in no way related to VSCode, so it wouldn't really change the situation for most folks here.

To be fair, if we don't get any response from the developers, then the best thing to do is to just move on. We've seen enough reluctancy here. Though I would still prefer a VS Code, you can use a variety of languages with Xcode, even though it isn't perfect. Keep in mind that it's iPadOS.

@GalacticLion7 Do you really think people will change the languages they worked hard on mastering for years just because their favorite dev environment doesn't support their favorite device? I surely won't. I think all of this discussion, while it shows what people imagine they'd love to do, lacks empirical evidence. The iPad, that just now added real mouse support, just isn't proven to be a productive system for devs. As Dieter from TheVerge just said in the new Apple Magic touchpad keyboard case review, having a Zoom call during working on Office is a royal pain in the butt. Its not just a matter of dev environment, its a matter of device and OS capabilities. Thats where we are (barely) at the start of a change of mind at Apple.

I know, you (and me), we'd like to get on tinkering and working now, but I'm super eager to see how in real life, with a great code editor (e.g. Xcode), people really are able to work on the iPad as a primary device. I guess its the right decision for MS to wait and see how the iPad proves itself in different areas, before even considering in putting any effort into a huge rewrite. Its up to us to change the current state if we want to get on coding on iPad.

@GalacticLion7 Do you really think people will change the languages they worked hard on mastering for years just because their favorite dev environment doesn't support their favorite device? I surely won't. I think all of this discussion, while it shows what people imagine they'd love to do, lacks empirical evidence. The iPad, that just now added real mouse support, just isn't proven to be a productive system for devs. As Dieter from TheVerge just said in the new Apple Magic touchpad keyboard case review, having a Zoom call during working on Office is a royal pain in the butt. Its not just a matter of dev environment, its a matter of device and OS capabilities. Thats where we are (barely) at the start of a change of mind at Apple.

I know, you (and me), we'd like to get on tinkering and working now, but I'm super eager to see how in real life, with a great code editor (e.g. Xcode), people really are able to work on the iPad as a primary device. I guess its the right decision for MS to wait and see how the iPad proves itself in different areas, before even considering in putting any effort into a huge rewrite. Its up to us to change the current state if we want to get on coding on iPad.

I feel like iPadOS is already a supreme productivity device for things like development, and it's just the app developers that are disproving it.

Using your Zoom example, the reason why having Zoom calls on iPadOS suck, at least on my personal experience, is purely because of the UI/UX. It's just very poor compared to the Windows/macOS versions of the Zoom client.

And that's not just limited to Zoom. Even Google is on the same path. The Google Docs app for iPadOS works fine, but they skimmed down on most of the features available on the full PWA. And the Google Slides app, well, it sucks big time. This is especially a problem for a lot of developers that try to bring their cross-platform and web apps to iPadOS. Not just Google and Zoom.

This could easily be fixed if app developers were competent enough to spend a little bit more time curating their apps for iPadOS (and mobile services in particular). But they don't do that because iPadOS is just not of their best interest.

So Microsoft could follow two paths with two different outcomes to natively bring their IDE to iPadOS:

  • Make a lite version of the app like a lot of people that are trying to bring their cross-platform app to iPadOS and just stay that way until developers conventionally begin to curate their apps for iPadOS.

or

  • Be different and make a full-featured VS Code for iPadOS that stands up to the original version. This would not only be a massive convenience boost for developers that own an iPadOS device, but also drastically bring up interest for other developers to improve or bring their cross-platform or web apps to iPadOS.

Again, this whole discussion is very pointless if we are not getting any update from the developer team. @isidorn could you please bring some more official activity here?

I started porting the ide to ios but its a lot of work because of the restrictions ios currently has.
It is far from production ready. Syntax highlighting broke, some touch stuff is not working as intended and the file system part does not work at all. Also the only way to run nodejs code is to embed the complete runtime in the app (i managed to do that).

Here is a post i made about it.
https://www.reddit.com/r/webdev/comments/g7rhtw/i_ported_vscode_to_the_ipad/

If you guys are interested in the project let me know on reddit.

Thats really cool @locomain. I'm sad you choose to go for closed source. Not because I wouldn't spend money on it, but because I fear it will slow development down quite a bit. Still, keep it up.

Here the quote for anyone interested:

No, i dont think i am going to open source it. i have a fulltime job and i am doing this in my free time. To finish this is it going to cost me a lot of time and i would hate to see people making bank out of my work as this has happend to me in the past.

Looking forward to this as magic keyboard comes out recently. Though it isn't perfect enough now.

@bkniffler a lot of people on Reddit made some excellent comments about why it should be open source the project. I somewhat agree so i will rethink if i am going to open source it or not.

I started porting the ide to ios but its a lot of work because of the restrictions ios currently has.
It is far from production ready. Syntax highlighting broke, some touch stuff is not working as intended and the file system part does not work at all. Also the only way to run nodejs code is to embed the complete runtime in the app (i managed to do that).

Here is a post i made about it.
https://www.reddit.com/r/webdev/comments/g7rhtw/i_ported_vscode_to_the_ipad/

If you guys are interested in the project let me know on reddit.

Just so you know, this will violate a few guidelines if you release it to the App Store like that.

Check out https://vseditor.app/. It an app that runs code-server to make it seem like a native experience.

So basically its just a hosted version of vscode running in a webview for 2,99$ p.m.? I'd rather follow whatever @locomain is up to, seems like he's trying to go the hard route of forking vscode and reimplementing the electronjs part to react native; or host code-server myself.

I started porting the ide to ios but its a lot of work because of the restrictions ios currently has.
It is far from production ready. Syntax highlighting broke, some touch stuff is not working as intended and the file system part does not work at all. Also the only way to run nodejs code is to embed the complete runtime in the app (i managed to do that).

Here is a post i made about it.
https://www.reddit.com/r/webdev/comments/g7rhtw/i_ported_vscode_to_the_ipad/

If you guys are interested in the project let me know on reddit.

As the above people said, it can violate some of the store guidelines. You can considering shipping via altStore. Either way, I would be thrilled to help out :D

So basically its just a hosted version of vscode running in a webview for 2,99$ p.m.? I'd rather follow whatever @locomain is up to, seems like he's trying to go the hard route of forking vscode and reimplementing the electronjs part to react native; or host code-server myself.

Yes, but it's a much better experience than doing it on Safari. I'm not saying I recommend it, it's paid and you don't have sudo access.

How about GitHub CodeSpaces?
(Doesn't Microsoft offer that already!?)

How about GitHub CodeSpaces?
(Doesn't Microsoft offer that already!?)

In case anyone was interested...

It is possible to get this working with Visual Studio Codespaces, with one caveat -- copy (cmd-C) and undo (cmd-Z) don't work. Pasting data copied from elsewhere works, but you can't copy new data from an editor. Similarly, the undo signal (cmd-Z) doesn't get captured either.

In general, Codespaces works in the same manner as VS App -- you get access to a remote container running (effectively) code-server. In both cases, you end up paying for the resources used. Also in both cases (Codespaces and VS App), you can also use a self-hosted VSO or code-server and use the VSO website or VS App for free. The self-hosted option for VS App is relatively recent.

The author of VS App listed how they get around these issues here: https://github.com/cdr/code-server/issues/1015#issuecomment-631473728 . The quick version is that they intercept copy/paste at the App level and then forward the calls to the WebView.

This probably looks like a userAgent problem?

  • PC Chrome: Working
  • PC Chrome iOS Mobile Mode: Not Working
  • Mac Safari: Working
  • Mac Safari iPhone agent: Not Working
  • iPad Desktop Mode: Working
  • iPad Mobile Mode: Not Working

UserAgent (Test PC)

Test Code

<head>
...
<script>
Object.defineProperty(navigator, "userAgent", {
  get: () => "Mozilla/5.0 (Macintosh; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
});
// iOS "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1"
// Mac Safari "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" = $1
</script>
...
</head>
...

Not Working

  • "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1"
  • "Mozilla/5.0 (What; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1"

    Working

  • "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"

  • "Mozilla/5.0 (Macintosh; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1"

Result

  • If userAgent does not have Macintosh, it does not work.
  • Probably because the userAgent checks the platform and the Macintosh uses the meta key. On the iPhone platform, it seems to cause the illusion of not using the meta key.
  • How about adding an iphone to a platform that uses the meta key?

@daybrush thank you for your contributions, but please note that this issue addresses a dedicated mobile app for Visual Studio Code.

@daybrush thank you for your contributions, but please note that this issue addresses a dedicated mobile app for Visual Studio Code.

Agree. This shouldn't be closed. A web app, which requires a computer (or a paid vs code codespace) is not an app like the one for desktops.

@GalacticLion7 @maxiostro

Oh my mistake. From external issues, I thought links were related issues.

I hope the native app of the iPad comes out.

@rebornix could you reopen?

After watching the WWDC 2020,
that apple moves to ARM processors (Apple Silicon) for the next Macs
and all the popular apps will also be re-released/developed for ARM processors
maybe implies that those will have no hard time to also run on iPad (?)

I think V8 is already running on ARM, but not really sure about NodeJs

@Altiano Apple is contributing patches to multiple open source projects for ARM support, including Chromium, Electron, Node, V8, etc. They really are going all in.

Check this out: https://twitter.com/MarkVillacampa/status/1275200446764912643?s=20

@Altiano Apple is contributing patches to multiple open source projects for ARM support, including Chromium, Electron, Node, V8, etc. They really are going all in.

Check this out: https://twitter.com/MarkVillacampa/status/1275200446764912643?s=20

It seems that it's for macOS on ARM, not iPadOS on ARM.

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

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.

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

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.

@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!

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.

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 😢

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

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

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

@mixflame what is up with you?

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

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.

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.

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)

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

looking for it

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

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

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.

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

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

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?

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.

how about the battery ? @AckerApple

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.

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.

@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 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.

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 ;)

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

A5CFAA92-B8AF-44AA-9133-3CA9F1B66B11

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

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.

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.

Was this page helpful?
0 / 5 - 0 ratings