Dark theme | Light theme

May 22, 2008

Dynamic code completion for XML files in NetBeans

If the XML we edit has a schema, NetBeans will provide dynamic code completion. This is a very cool feature, because code completion is now available if the XML document has a schema attached. For example we create a Cocoon sitemap file in NetBeans and use the schema xsi:schemaLocation="". NetBeans will read in the schema file and provide code completion based on the schema. See the following screenshots of the code completion offered for the sitemap file: