Wouldn't it be nice to have Visual Studio list the available template names when typing out a call-template statement in XSLT? Wouldn't it also be nice to have it list available parameter names when typing out a with-param statement?
To enable these autocompletions and more, you need to back up your registry and then run regedit. Within regedit, create a string value called "XsltIntellisense" under "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\XmlEditor" key, giving it the value "True". That's it!
Ultimately, I'd like to see full IntelliSense for XSLT in Visual Studio, but this is a good start.
Tuesday, 28 July 2009
Subscribe to:
Post Comments (Atom)
2 comments:
Does this work for VS 2010? Just tried and no effect
I believe VS 2010 has some XSLT built in now, but I haven't got around to looking at configuring it yet.
Post a Comment