BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Introducing Clide, an “Enjoyable Visual Studio Automation API”

| by Jonathan Allen Follow 7 Followers on Nov 10, 2013. Estimated reading time: less than one minute |

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 Stage
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.

Tell us what you think

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

Email me replies to any of my messages in this thread
Community comments

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT