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
Shift-Ctrl-R / Shift-Cmd-Option-F
Replace all


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.


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