Agree with lithiumlab, the code completion is all sorts of awesome!
On a separate note, I have been using CodeMirror for so long that a few of Ace's Key Bindings are constantly throwing me off. For example, jumping between words on a given line via Alt+Left/Right arrows. In Ace, this seems to jump between tags?
I found that by disabling the default "Ace" key binding and using "Custom", it restores this functionality (confirmed here: http://ace.c9.io/build/kitchen-sink.html)
Is there currently any way to change the "Key Binding" Ace uses within MODX?
Also, does anyone know if Ace supports a "Code Formatting" (e.g. beautify) feature, like CodeMirror? e.g. http://codemirror.net/2/demo/formatting.html
UPDATE:
Did a quick search, and see the following Beautify commit just over a month ago. Perhaps in the next release?
https://github.com/ajaxorg/ace/commit/180fa0c4cb12344e5f4c8155671f1227d3f166fb#diff-6f61d61329d4a4aac145ae8a9fb67520
On a separate note, I have been using CodeMirror for so long that a few of Ace's Key Bindings are constantly throwing me off. For example, jumping between words on a given line via Alt+Left/Right arrows. In Ace, this seems to jump between tags?
I found that by disabling the default "Ace" key binding and using "Custom", it restores this functionality (confirmed here: http://ace.c9.io/build/kitchen-sink.html)
Is there currently any way to change the "Key Binding" Ace uses within MODX?
Also, does anyone know if Ace supports a "Code Formatting" (e.g. beautify) feature, like CodeMirror? e.g. http://codemirror.net/2/demo/formatting.html
UPDATE:
Did a quick search, and see the following Beautify commit just over a month ago. Perhaps in the next release?
https://github.com/ajaxorg/ace/commit/180fa0c4cb12344e5f4c8155671f1227d3f166fb#diff-6f61d61329d4a4aac145ae8a9fb67520