Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Annoying XML Comments: NetBeans IDE Plugin

DZone's Guide to

Annoying XML Comments: NetBeans IDE Plugin

· Java Zone ·
Free Resource

Verify, standardize, and correct the Big 4 + more– name, email, phone and global addresses – try our Data Quality APIs now at Melissa Developer Portal!

Commenting XML ... you have to write "<!--" and then "-->" ,if you have to write some large doc, and want it be well commented, you'll get really bored by typing four chars just to start comment block.

I was little frustrated by the fact there is no tool(well there is as a hint but i like key shortcuts) in my beloved NetBeans IDE to comment/uncomment whole block of text (like the Java editor has), so i wrote it down.

EDIT: It's useless "Ctrl-/" does the same for XML. See official short-cut list, its hidden in "Coding in Java" but works for many other file types.

Download it for free right here:

http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=35608

It's simple, select text which you want to comment, right click for context menu and select "XML Comment" like the figure below shows.

Context menu

Developers! Quickly and easily gain access to the tools and information you need! Explore, test and combine our data quality APIs at Melissa Developer Portal – home to tools that save time and boost revenue. Our APIs verify, standardize, and correct the Big 4 + more – name, email, phone and global addresses – to ensure accurate delivery, prevent blacklisting and identify risks in real-time.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}