March 17, 2010
Using JSF 2.x on Tomcat 6.x.. If you want to use JSF 2.x on a Tomcat 6.x server you have 2 options,
see this short article.
More »
March 17, 2010
Declarative Hyperlinking Enhancements. I've spent some time fleshing out the code in the experimental declarative hyperlinking module I blogged about earlier. In that earlier entry I showed how you could use the new @Link annotation with existing URI templates either explicitly like ...
More »
March/2010
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
| | 1 |
2 |
3 |
4 | 5 | 6 | | 7 | 8 | 9 |
10 | 11 |
12 |
13 | | 14 |
15 |
16 |
17 | 18 |
19 | 20 | | 21 | 22 | 23 | 24 | 25 | 26 | 27 | | 28 | 29 | 30 | 31 | | | |
|
 |
NetBeans Screenshot of the Week #37: JavaScript 1.7 Support
I just checked in support for JavaScript 1.7. This means that NetBeans will no longer give you syntax errors if you try to use the new language. Here are some screenshots. First, let's open a file using JavaScript 1.7 constructs:
Obviously the file is using yield which is not recognized as a keyword, and in particular, this is just a syntax error - the parser was expecting a semicolon. But there's a little lightbulb... let's see what it says (type Alt-Enter or click on the lightbulb):
Let's select the option to change the active language to 1.7. I could also open the JavaScript options dialog directly and set it to 1.7 as shown here:
After applying the language change, the editor immediately re-lexes and reparses the file according to the new language. The errors are gone, and yield is now a proper keyword:
Similarly, the let keyword can be used, as well as destructuring assignments, generators and iterators, etc. (See New In JavaScript 1.7 for more information).
If you place the caret on function definitions, it will highlight all exit points, and this includes yields now.
This work isn't done; I'd like it to be smarter about generators, and there may be some issues with scope handling. But at least the editor doesn't get in your way with false error messages now - you can start writing JavaScript 1.7 clean code. (This is with NetBeans 7.0 dev).
In related news, I just heard from Tom Enebo that a lot of Ruby...
Date: November, 25 2008
Url: http://blogs.sun.com/tor/entry/netbeans_screenshot_of_the_week4
Others News
Leave a Reply
Related
- JavaScript Headlines NetBeans Screenshot of the Week 42: JavaScript Native Interface At the Roundup last week I talked to Robert Cooper, who's doing a lot of interesting work with GWT (Google Web ...
- NetBeans Screenshot of the Week #36: Python Code Completion Here are some screenshots of the code completion working for Python. First, let's try it from an import statement: Note that the documentation for the module is shown.
- NetBeans Screenshot of the Week #41: Type Assertions Python and Ruby are dynamically typed languages. We have a lot of heuristics in our editors to figure out the types - tracking assignments, analyzing your database migrations, etc ...
- Tor Norbye's Weblog Monday November 10, 2008 NetBeans Screenshot of the Week #32: Python Import Management. We're about to release an early access release of Python support for NetBeans.
- NetBeans Screenshot of the Week #38: E4X Support As part of the JavaScript 1.7 work, I also beefed up the E4X support. E4X allows you to embed XML objects directly in your JavaScript source. Here's some simple E4X JavaScript ...
- NetBeans IDE 6.5 Screenshots - Softpedia WEEK'S BEST; Ubuntu 8.10; Linux Kernel 2.6.2... Mozilla Firefox 3.... OpenOffice.org 3 ... Screenshot 1 of NetBeans IDE The image below has been reduced in size. Click on it to see the full ...
- Tor Norbye's Weblog Tuesday December 16, 2008 NetBeans Screenshot of the Week #39: Ruby Code Coverage, Python Code Coverage. Here's a new feature for NetBeans 7.0: Code Coverage support!
- Netbeans 6.5 Screenshot (1.6u11 + Nimbus) With Visual Form Designer ... Simplest Possible EJB 3.1 Netbeans 6.5 Quicktip: Unit Tests And Profiler Netbeans 6.5 Screenshot (1 ... see here: http://twitter.com/AdamBien/status/1452657727 I evaluated it last week ...
- Scala Support for NetBeans Screenshot#1: Syntax Highlighting and Scala ... Scala Support for NetBeans Screenshot#1: Syntax Highlighting and Scala Project ... downloadable Scala modules package can be ready in one week, so you can get it from the NetBeans ...
- Anuradha This week Screenshot #1 ... from the default stable update center of NetBeans 6.0 ... Screen shot of new Maven build plan view Please let us know ...
- NetBeans Screenshot of the Week #39: Ruby Code Coverage, Python Code ... Here's a new feature for NetBeans 7.0: Code Coverage support!
- Scala for NetBeans Screenshot#4: Basic Completion : Caoyuan's Blog Scala for NetBeans Screenshot#4: Basic Completion. Scala for NetBeans now supports basic completion ... I downloaded a version last week but since it was manually downloaded, I'm not ...
- SourceForge.net: Spring Netbeans Module The Spring Netbeans Module has been integrated into Netbeans ... Activity Percentile (last week) : 86.76 View ... Screenshots
- JavaScript Technology NetBeans Screenshot of the Week 42: JavaScript Native Interface At the Roundup last week I talked to Robert Cooper, who ' s doing a lot of interesting work with GWT (Google Web ...
- Hot Threads NB Screenshot of the Week #41: Type Assertions. Checkout this latest screenshot of the week by Tor Norbye.
|