在线编程编辑器
对于学校项目,我需要编写或使用在线编程编辑器。这是一个更大项目的一部分。我想到了 java 应用程序、php/html/javascript 或 flash。
我可以做几件事:
- 找到一个好的工作应用程序并对其进行编辑,以便它与项目的其余部分一起工作
- 为编辑器找到好的部分并使其自行工作(语法荧光笔,自动缩进,自动完成等) .)
- 这两者的组合
有人知道一个好的编辑器或者对这个项目或编辑器有建议吗?
感谢您的阅读,
莱昂
For a school project i need to write or use a online programming editor. It is a part of a bigger project. I thought of a java application, php/html/javascript or flash.
I have a couple of things i could do:
- Find a good working application and edit it so it works with the rest of the project
- Find good parts for a editor and make it working my self (syntax highlighter, auto-indent, autocompletion, etc.)
- Combination of those two
Does anybody know a good editor or have tips for this project or a editor?
Thanks for reading,
Leon
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
对于语法突出显示和基本编辑部分,请查看我最近的问题 可以即时进行语法突出显示的文本区域?
那里提供的解决方案:
其余的 - 自动完成等 - ... 查看 Wikipedia 文章 < a href="http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors" rel="nofollow noreferrer">基于 JavaScript 的源代码编辑器的比较
有兴趣看看还有什么其他建议出现。
For the syntax highlighting and basic editing part, check out my recent question Textarea that can do syntax highlighting on the fly?
Solutions presented there:
For the rest - autocompletion etc. - ... Check out the Wikipedia article Comparison of JavaScript-based source code editors
Interested to see what other suggestions come up.
我想到了 Bespin。尽管它可能太前沿,具体取决于项目其余部分的构建/打算使用方式(但是嘿,程序员喜欢前沿)。
Bespin comes to mind. Though it might be too bleeding edge, depending on how the rest of the project is built/meant to be used (but hey, programmers love bleeding edge).
如果您决定使用 PHP/HTML/CSS/JavaScript,请参阅 GeSHi 进行语法高亮显示。
If you decide to use PHP/HTML/CSS/JavaScript, see GeSHi for syntax highlighting.
我有一个用 ACE 开发的副项目。
它通过 SFTP 连接到您的服务器,并允许您创建新文件、从浏览器读取和编辑所有文件,并在侧边栏显示文件树。
演示位于 TePe
代码位于 Github 仓库
I have a side project developed with ACE.
It connects to your server through SFTP and allows you to create new files,read and edit all from your browser with your file tree at sidebar.
Demo at TePe
Code at Github Repo
我发现 Cobalah Editor 它也是基于 CodeMirror 构建的,但进行了一些自定义。有一些主题可供我们设置、增大或减小字体大小。
I found Cobalah Editor it's also built on CodeMirror but with some customization. There are some themes available we can set, increase or decrease font size.