#include Auto Complete

  One of the new features for C++ in Visual Studio 2010 is the auto completion of #include statements. Overall it’s a pretty simple feature and the behavior is exactly the same as regular IntelliSense auto completion. When you invoke it if there’s an exact match to complete your term the match gets completed, if…

1

Reading and Writing data using custom methods and the System.Xml Namespace

On a previous post dealing with Xml Serialization I mentioned that one of the ways you could achieve this was by customizing the read and write methods. I’m going to bypass the wrapping the code into Read/Write methods and go straight to the code:   Let’s start with this simple xml file:   <Items> <Item>MyItem…

0

Moving Test Hooks Outside Your Product’s Source Code

Found some more “old” stuff while organizing, this is a repost from an entry I wrote for the Visual C++ Team blog (click here for the original post)     When writing automated testing for specific features in your applications you usually have to figure out how you’ll actually get the information you need without…

0

The Importance of Nurturing Software Communities at the Academic Level

I found this recently while going through my documents, it’s something I wrote last November on one of those days where I was just inspired to write and it’s definitely something worth sharing.     Recently reading an article about Ray Ozzie this paragraph jumped out: In his classic book Computer Lib/Dream Machines, Ted Nelson describes…

0

Navigate To (aka Quick Search)

One of the new features of Visual Studio 10 is the Navigate To feature (previously called Quick Search).  I could write a whole article about the discussions around the naming but at least for now we’re sticking to Navigate To (with the disclaimer being that as of today this is not final). The first thing…

0

XML Serialization: Using XML files to persist data

Something that’s pretty common is to load and export data from applications to settings or data files. I’m going to be concentrating on the scenario in which you have some sort of data structure that you want to save or load the whole contents of the structure to an XML file. There are several methods…

0

Getting an instance of Microsoft.VisualStudio.OLE.Interop.IServiceProvider from a Visual Studio AddIn

    Last week I was working on an AddIn and I needed an instance of IServiceProvider. The closest I found was this piece of code:   EnvDTE.Project project; IServiceProvider serviceProvider = new ServiceProvider(project.DTE as Microsoft.VisualStudio.OLE.Interop.IServiceProvider);   So after messing around and trying to get an instance of Project I saw the light and noticed…

0

Hello!

A bit about myself, my name is Raul Perez. I’m currently part of the Visual C++ IDE team and I’ve been working here for little over a year. I’m originally from Puerto Rico, I lived there for 27 years and yes my native tongue is Spanish. Before working for Microsoft I worked designing business intelligence software for the medical…

0