Ace编辑器处理模式? [英] Ace editor Processing mode?
问题描述
我将处理文件上传到github。我想在我的网站上显示代码。因此,我在自己的网站中实现了 ACE 编辑器,并将我的处理程序代码简化为ace编辑器。但有一个问题。
I uploaded a processing file to github. I want to show the code on my website. So I implement ACE editor in my site and ajaxed my proecessing code to the ace editor. But there is a problem.
我希望代码在外观上显示为Processing IDE中的代码。但是Ace编辑器支持Java语言,但没有处理模式。我怎么解决这个问题 ?我找不到用于Ace处理模式的任何程序包。
I want the code showed on my look as the code show in Processing IDE. But Ace editor support java language but no mode for processing. How can I solve this problem ? I could not find any package for Ace processing mode.
推荐答案
http ://hello.processing.org/editor/ 使用Ace,并且具有处理模式,请参见 http://hello.processing.org/js/vendor/ace/mode-processing.js
http://hello.processing.org/editor/ uses Ace, and it have a mode for processing see http://hello.processing.org/js/vendor/ace/mode-processing.js
这篇关于Ace编辑器处理模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!