Java Virtal Machine.net

[ News ] rss

February 01, 2011

Mark Wielaard: New GPG key. Finally created a new GPG key using gnupg. The old one was a DSA/1024 bits one and 8 years old. The new one is a RSA/2048 bits one. I will use the new one in the future to sign any release tarballs I might create. pub 2048R/57816A6A 2011-01-29 Key f...

More »

February 01, 2011

Andrew Hughes: [SECURITY] IcedTea6 1.7.8, 1.8.5, 1.9.5 Released!. We are pleased to announce a new set of security releases, IcedTea6 1.7.8, IcedTea6 1.8.5 and IcedTea6 1.9.5. This update contains the following security updates: The IcedTea project provides a harness to build the source code from OpenJDK6 u...

More »

April/2024
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324 252627
282930    

[ Archives News
for 'Developers' ]

home > news > developers > netbeans screenshot of the week #38: e4x support

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: We've had E4X support in NetBeans in both NetBeans 6.1 and 6.5. But now, in NetBeans 7.0, semantic highlighting is E4X aware, such that the source code looks like this instead: The whole XML document declaration has a faint purple background, element names are blue and document content is bolded. (The green here, as for all JavaScript code in NetBeans, indicates variables in global scope.) Another new E4X feature is formatting/pretty printing. If you press Alt-Shift-F to format the above source, the E4X is reformatted and indented: In addition, the navigator window shows the logical structure of the XML document as well. Clicking in the source will expand and select the corresponding item in the navigator, and conversely double clicking in the navigator warps the source to the corresponding location in the XML declaration: Finally, there's some primitive support in code completion for the XML document:


Date: November, 28 2008
Url: http://blogs.sun.com/tor/entry/netbeans_screenshot_of_the_week5


Others News

©2002-2019Java-Virtual-Machine.net https://mobirise.com/ | fr | free web editor | free icon fonts | bootstrap image slider