BT

InfoQ Homepage News Introducing Clide, an “Enjoyable Visual Studio Automation API”

Introducing Clide, an “Enjoyable Visual Studio Automation API”

Bookmarks

When writing an add-in or extension for Visual Studio developers have traditionally had to choose between EnvDTE and the IVs interfaces. The former is easy to use but limited; the latter exposes all of Visual Studio but contains “a lot of COM baggage”. In an attempt to create library that is both powerful and easy to use Clarius Labs is offering Clide which they call an “Enjoyable Visual Studio Automation API”.

Clide relies on modern .NET API coding styles such as the use of LINQ and extension methods. Here is a sample provided by Daniel Cazzulino that demonstrates finding all of the project names in a solution.

var projects = DevEnv.Get(serviceProvider)
.SolutionExplorer()
.Solution
.Traverse()
.OfType<IProjectNode>()
.Select(project => project.DisplayName)
.ToList();

Clide is offered as an open source project with a custom license. The documentation is available on NuDoq.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.