July 2012 archive

Improvements on code editor

We have some improvements on code editor/viewer.

  • Support syntax highlight and auto indentation of JSX, CoffeeScript, and LESS.
  • Code Folding
  • Search/replace

Press ctrl-q or click on the gutter to fold a block, again to unfold.

Search/replace keybindings are:

Ctrl-F / Cmd-F
Start searching
Ctrl-G / Cmd-G
Find next
Shift-Ctrl-G / Shift-Cmd-G
Find previous
Shift-Ctrl-F / Cmd-Option-F
Replace
Shift-Ctrl-R / Shift-Cmd-Option-F
Replace all

editor_improvements.png

JSX, CoffeeScript support!

We support 2 features!

  • The new languageJSX create rapid JS.
  • The remarkable scriptCoffeeScript affects next generation ECMAScript.

To use JSX, put "// #!jsx" on top of JS code.

jsx_sample.png

To use CoffeeScript, put "#!cooffeescript" on top of JS code.

coffeescript_sample.png