简体   繁体   English

浏览iPhone上的源代码

[英]Browsing Source Code on an iPhone

I'm the kind of dork who enjoys reading source code in his spare time. 我是那种喜欢在业余时间阅读源代码的dork。 I'm also the kind of dork who has an iPhone. 我也是那种拥有iPhone的笨蛋。 What is the best way to read and browse code on such a device? 在这样的设备上阅读和浏览代码的最佳方法是什么?

My initial thought is to use something like LXR to generate hyperlinked pages, and upload them to my personal server, but I am interested in better/easier ways. 我最初的想法是使用类似LXR的东西来生成超链接页面,并将它们上传到我的个人服务器,但我对更好/更简单的方式感兴趣。

I am primarily reading C and C++ code, but support for other languages would be great. 我主要阅读C和C ++代码,但对其他语言的支持会很棒。

I have no desire to jailbreak my iPhone. 我不想越狱我的iPhone。

Air Sharing lets you copy over files via WebDav for viewing on your phone. Air Sharing允许您通过WebDav复制文件,以便在手机上查看。 It even syntax colors source code. 它甚至语法颜色源代码。 According to the site, the supperted languages are, "C/C++, Objective C/C++, C#, Java, Javascript, XML, shell scripts, Perl, Ruby, Python, and more". 根据该网站,超级语言是“C / C ++,Objective C / C ++,C#,Java,Javascript,XML,shell脚本,Perl,Ruby,Python等”。

vim with ctags. vim与ctags。 Just a thought 只是一个想法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM