Adding a spring namespace

Is there an easy way to (either keyboard, or mouse clicks, prefer keyboard) to insert a spring namespace into a spring application context xml file?
For exmaple, the default namespace is the "beans" namespace, but i would like to add the "context" namespace (or tx namespace later) without having to figure out what the correct namespace urls are. Spring Tool Suite (STS) had a feature like this that was very handy for adding namespaces. Does Intellij have something similar?


Hi Christian,

Type "<cS" Ctrl-Alt-Space. Idea will allow you to complete it to <context:component-scan>, and will automatically add the required namespace declarations.