Revision as of 08:35, 10 February 2012 by Ppisl (Talk | contribs)

JavaScript Support Rewrite

This document contains information about rewriting JavaScript editor. The umbrella task for the rewrite is issue #205870.

The development is done on branch javascript2 in web-main repository. There are two new modules javascript2.editor and javascirpt2.kit. There is also continual build from the branch.

The editor rewrite contains mainly these tasks:

  • Parser integration
  • Coloring lexer
  • Error checking
  • Hints
  • Creating model
  • Folding
  • Navigator
  • Indentation
  • Formatting
  • Marking pairs of chars (), {}, , "", []
  • inserting ), }, ', ", ] after in pressing (, }, ', ",]
  • code completion

Next big task is JSON support.

Document about progress of rewriting JS editor and comparing new and old support can be watched here.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo