We've had code completion in layout files, manifest files, menu files etc for a while.
However, a few key file types were missing:
This is now fixed - as shown in the following screenshots. Note however that because these filetypes were previously bound to the plain XML editor, your own projects may continue to use the plain XML editor when you open these files. We plan to address that in the next release, but for now, if you run into this you can right click on the file in the package explorer and use the Open With menu item to pick the correct editor type:
In any case, here's a drawable file where we get completion on the various available root elements:
Here's completion on attributes for the state_enabled property in an <item> element in a <selector>: