VSPy #6 – Over Too Soon…

So, it’s been fun while it lasted, but I’m calling off this series early. Why? Because VS2010 is almost out, and the extension framework has changed considerably. I missed it when it was first posted about 10 months ago, but Terry Clancy has provided a (long) summary of the new developments in this area (such [...]

March 28, 2010 • Tags: , , • Posted in: Uncategorized • Comments Off

VSPy #5 – Deployment

I’ve done some reshuffling of the original post order, since I’ve discovered a much more accurate way of handling name completion but haven’t yet got it working properly. Also, since we’ve got enough highlighting going on, deployment becomes more of a concern, so I’ve bumped that up, then I’ll cover adding a Python Project type [...]

March 14, 2010 • Tags: , , , • Posted in: Uncategorized • Comments Off

VSPy #2 – Syntax highlighting

This is the second post in a series adding Python support to Visual Studio. See the table of contents for a brief overview. The syntax highlighting mechanism in Visual Studio is based on the IVsColorizer interface and its ColorizeLine method. Language services provide an object that implements this interface to the IDE, which uses it [...]

February 14, 2010 • Tags: , , • Posted in: Uncategorized • 2 Comments

VSPy #1 – A basic language service

This is the first post in a series adding Python support to Visual Studio. See the table of contents for a brief overview. The very first step is to install Visual Studio 2008 Standard or Professional (the Express editions are not suitable) and the SDK. (I assume everyone following along is capable of doing this [...]

February 7, 2010 • Tags: , • Posted in: Uncategorized • 1 Comment

Adding new languages to Visual Studio

Recently I’ve been playing with the Visual Studio 2008 SDK. This SDK supports a lot of functionality, even allowing you to create and distribute independent applications based on the VS2008 IDE (titled “isolated” mode). One of the primary use cases for the SDK is implementing domain-specific languages. An example of one of these is the [...]

February 7, 2010 • Tags: , , • Posted in: Uncategorized • 1 Comment