In the early 2000-s XML was one of the technologies, wondered the developer community.
Today, with all of that RoR,JSON n etc. XML has become thing, that many people dislike. But also, it's for now sufficiently mature.
In this world (java/.net) today when it has no attribute/annotation use, xml is choose for configuration in most cases. So NHibernate or Spring use it.
Visual Studio has enough good support for XML (if you not forgot place your *.xsd in Schemas folder) - except one thing. When you want to create new mapping for class you need to manual write whole namespace for it.
And now, with ReSharper you can complete you class name in XML.
Just press Ctrl-Alt-Space. You see:
And you get:
But assembly name you need to add by hand:
As Ilya Ryzhenkov mentioned in comments, ReSharper has context action for complete module qualification.
Click yellow light bulb or press Alt-Enter:
And you'll give:
It's almost cool, only what I want is ability to add only assembly name, not full qualification.
In fact, there should be context action (Alt-Enter) on type name in XML, to add assembly qualification. Doesn't it work for you?
ReplyDeleteilya,
ReplyDeleteyes, you're right, thanks, I'll update the post. Jokingly, that i've noticed yellow bulb but didn't try open it.