Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS/Android Port #12039

Open
1 task done
Feel-ix-343 opened this issue May 19, 2024 · 8 comments
Open
1 task done

IOS/Android Port #12039

Feel-ix-343 opened this issue May 19, 2024 · 8 comments
Labels
feature [core label] platform support An umbrella label for all platforms

Comments

@Feel-ix-343
Copy link
Contributor

Check for existing issues

  • Completed

Describe the feature

Support Zed on IOS for iPad programming and mobile note taking.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@bbb651
Copy link
Contributor

bbb651 commented May 19, 2024

I'm not speaking for the zed team, but this is highly unlikely to ever happen.
Zed uses os apis directly and not an abstraction like winit, so this means writing and maintaining almost twice the amount of platform specific code (for context, before it went open source it only supported macOS, and with a ton of effort from the community the linux/windows ports have been going really fast, and they're still in a pre-alpha state with known issues and limitations. This sometimes takes years.). Not to mention rewriting most of the ui for mobile, implementing touch screen and gestures in the first place, getting a lot better at suspend/resume, writing glue java code for android, packaging, etc. etc.
And that's not even the worst part, you generally cannot run code that isn't part of the app on iOS (Aidoku is the only example I'm aware of running arbitrary wasm in an iOS app, but it's not on the app store and it's not clear if it'll get accepted.), so you'll have to bundle every tree-sitter grammar, and even then barely any development tools and no language server I'm aware of can compile to mobile, so the majority of the editor's features won't function at all. Not the mention phones/tablets are often less powerful than computers and limited on ram to run these tools.
If you're interested in something like this for iOS, codeapp is your best bet, but keep in mind the sandboxed environment is really limiting, you're only able to use the builtin development tools and emulated shell.

Edit: Looking back I was overly negative here, I do think there's value in this for mobile, and the improvements needed to get there will also improve the experience on desktop (legible ui on small sizes, touchscreen and gesture support, better suspend, optional sandbox e.g. for a flatpak), I still think it's not a priority right now though, and web seems more important.

@bajrangCoder
Copy link
Contributor

As I had seen road maps and platform specific issues , there is no chance for zed to be on Android/ios because it requires significant resources and which aren't available on Mobile devices (as @bbb651 explained) but maybe in future gpui ui framework will be ported for mobile device (but currently no plan)

But Zed team has mentioned they will support web so it will be available through web, not directly through app(there is no official date available for web release).

I'm not from Zed team

@versecafe
Copy link
Contributor

GPUI shouldn't be too hard to partially port to iOS since the metal rendering works the same but the platform APIs would definitely pose issues with things like FS handling and some sections like menubars being fully nonexistant

@jansol
Copy link
Contributor

jansol commented May 20, 2024

Related: #11889 and tangentially #8157

@JosephTLyons JosephTLyons added platform support An umbrella label for all platforms and removed triage labels May 22, 2024
@mwotton
Copy link

mwotton commented Jun 30, 2024

wonder if there's a possibility for a remote-dev only client, once that feature's fully settled.

@fwcd fwcd mentioned this issue Jul 10, 2024
1 task
@fwcd
Copy link

fwcd commented Jul 10, 2024

File system handling on iOS is pretty much the same to macOS as long as the app stays within its sandbox (which is the Documents directory, Library and a few others). Apps can also request access to other apps' documents and then read/write to those paths too. Apps like Working Copy or iSH are good examples here.

While remote dev would be a use case worth investigating, I think local editing would still be very nice to have, if only for note-taking etc. I write a lot of my notes in Markdown, so having an editor that supports Vim mode and live preview (maybe even with LaTeX formula rendering, i.e. #10899) would be really nice and something I haven't really seen before on iOS.

@TheinThanHlan
Copy link

I also want this editor on android.

@andreytkachenko
Copy link

At least in termux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature [core label] platform support An umbrella label for all platforms
Projects
None yet
Development

No branches or pull requests

10 participants