Fasten your seat belts. Pablo Galiano demoed creating a VS command, creating a tool window (using solution and project hierarchy information), and creating a tool window (using the file code model / CodeClass). The demos were very code focused, albeit using helper frameworks, some skeleton UI code, and some demo-specific snippets.
[I wonder how to publish a file code model for a new language.]
Pablo made extensive use of "VSSDK Assist", which adds a menu that is a portal to number of wizards to create and update various files: http://www.codeplex.com/vssdkassist
Other resources he recommends are:
- LinqToCodeModel is a sample library that provides Linq facilities over FileCodeModel object graphs: http://code.msdn.microsoft.com/LinqToCodeModel
- The VSCT (Visual Studio Command Table) PowerToy is a read-only viewer that you can use to explore the commands associated with a VSPackage, and with Visual Studio itself. You can quickly search for any existing commands in the Visual Studio IDE. By browsing through the command groups, GUIDs and IDs, priorities, and other properties of existing commands, you can more easily place and integrate the commands of your own VSPackage. http://code.msdn.microsoft.com/VSCTPowerToy
http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=vsxconf&DownloadId=3174
Posted
Sep 16 2008, 01:41 PM
by
jeffrey-schlimmer