ryantenney/metrics-spring — pull request #63 by mattbertolini (2014-03-01 15:37:39+00:00)
Title: Add tool namespace for type checking and code completion

Spring has a tooling namespace that helps writers of custom namespaces integrate their schema with the various IDEs that support Spring XML code completion and type checking. I have added this capability to the metrics-spring namespace.
It works by adding a XML schema `annotation` element and placing the tool namespace elements inside. From there elements are added for telling what types the custom element exports and whether or not the attribute is a reference or a direct type.
```XML

```
Now when the metrics-spring namespace is loaded in a IDE like IntelliJ IDEA, the editor immediately knows how the namespace works and is able to provide code completion, suggestions, and report errors about incorrect types and references. No manual scanning of the namespace is required.