views:

5270

answers:

10

I'd like to write code even when I'm not at my desktop machine.

Any recommended iPhone script/code editor apps out there?

I'm not meaning desktop applications like XCode for writing iPhone apps.

I'm meaning iPhone apps cause I want to write code on iPhone. (any code like java c ruby etc and doesn't limit to writing codes for iPhone...)

It will be great if you can recommend both free and paid apps, many thanks!

+4  A: 

The only thing I could suggest would be a terminal or VNC client to connect back to your dev machine to edit. There are several of each on the App Store.

evil tabby cat
+1  A: 

Apple has been adamant about not allowing anything "programming language like" on the iPhone--meaning no scripting languages, nothing that can be modified without going through the app store.

So I absolutely guarantee that even if you made it yourself, it couldn't do more than submit the code to a PC for compile, then use the SDK to load it back to the phone.

Unless you jailbreak it, that is.

Bill K
+3  A: 

Here is a review of a few iPhone SSH clients. You could fire up an SSH connection to your desktop and then run emacs, etc. to do development work.

Alex Reynolds
+4  A: 

I use Jaadu on my iPhone to connect to my dev machine running Visual Studio & SQL. It sucks and it's painful but if I need to compile in a pinch, it does the job. Oh, it's pricy btw and it doesn't give you that fluid iPhone experience.

This may sound lame, but I also use Evernote. I have a code repository notebook that I jott code snippets into. In fact, I just wrote a little linq tag cloud method, sync'd it and it will be waiting for me tomorrow at the office.

It's more of a fun thing for me. I could not get serious with it until I could compile and test the code. I don't see that happening.

Coov
+3  A: 

I find it really strange that there is no answer to this question. You're saying that there is no source code editor app for iphone?

I, for instance, have a WAMP server with a web page that I'm developing. Sometimes when I'mnot at my desktop and have nothing better to do, I would like to bring a php source file to my iphone (like with a ftp client), edit the source in a source code editor on my iphone, then upload it back to the server.'

Shouldn't this be possible?

unless you jail break it... otherwise you can't ftp files to the iphone
Unreality
Andreas Bonini, what's the matter with you? is it really need to delete "Cheers Fredrik" ?
Unreality
+2  A: 

In search of something similar, I came upon codepad.org.

Basically a code paste site that compiles/interprets your code, as well as runs it. Also spits out errors/debug info if I remember correctly.

Josh Sandlin
Nice link! Will use again A+++
Louis
+3  A: 

iEdit is nice for working from the phone, has file browser, can be used to preview HTML and photos. However it opens some stuff as read-only (.js files for example). Not sure why or if it can be changed.

I also used gTxtEdit, just an editor with no browser. It is difficult though to open files that are 5 or 6 directories deep since you have to type entire path manually.

What I really wanted was an editor like vi or nano that can be used in an SSH session to edit files. Tried MG, doesn't work, just keeps saying "Bus error".

So back to the classics, I downloaded vi and nano through Cydia, just have to change into developer mode to show all packages. Hope this helps!

Philip
A: 

Bespin is nice :)

Sdwrage
+1  A: 

Hey, so while this may be an old question, it's pretty high up on google, so I figured I'd answer for anyone like me passing by.

I went on a quest today for an iPhone app that would let me edit files "on the cloud" with my iPhone, mostly php and JS is what I was looking for, and came across an app called "Pocket Monkey" - It allows for tabbing, pinch browsing, and the UI is actually usable for editing code on the go, which is totally awesome.

Check it out here: http://itunes.apple.com/us/app/pocket-monkey-code-editor-ftp/id355399053?mt=8

I haven't been able to play around with it too much, but in an hour and 22 minutes when my laptop dies and I'm still on the train, I imagine it'll come in really handy.

Jesse
A: 

I did find nano on Cydia. Works great. Just what I wanted.

KevinN