Java Virtal Machine.net

[ News ] rss

March 21, 2010

Announcing a new open source book in the making: "Continuous Integration with Hudson". Continuous Integration is a cornerstone of modern software development best practices. Hudson, an Open Source Continuous Integration tool, is by far the most popular Continuous Integration tool on the market, and for good reason! It's intuitive ...

More »

March 21, 2010

Spring Security NTLM 3. I'v migrated code from spring-security 2.0.5 to be able to use NTLM on spring-security 3.0.2. NTLM isn't supported anymore official by SpringSource but after some refactoring I was able to use NTLM without problems. http://aloiscochard.blog...

More »

March/2010
SunMonTueWedThuFriSat
 1 2 3 456
789 1011 12 13
14 15 16 171819 20
2122 2324252627
28293031   

[ 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

Leave a Reply

Name (required)
Mail (will not be published) (required)
Website
You don't see letters?

Enter the code shown above (required)


Related

©2002-2008Java-Virtual-Machine.net