makenai / robotnik

Drag and drop robotics educational library starring Johnny Five and Blockly (crowd goes wild)
52 stars 13 forks source link

Autoindent in editor #7

Closed makenai closed 9 years ago

makenai commented 9 years ago

If this is to become a handy dandy IDE, we should autoindent.

Resseguie commented 9 years ago

A potential solutions? https://github.com/jakiestfu/Behave.js

I did a quick scan through several options, but that one seemed the cleanest at a quick glance. If it just did syntax highlighting.

makenai commented 9 years ago

That looks excellent!

Resseguie commented 9 years ago

Chromebots currently uses CodeMirror: http://codemirror.net/

makenai commented 9 years ago

Looks like the editor autoindents nicely now, and the code formatting issue was addressed in my last merge with js-beautify.