Helixoft

Helixoft Blog

Peter Macej - lead developer of VSdocman - talks about Visual Studio tips and automation

Archive for the 'Visual Studio Tips' Category

Sharing a Source File Across Multiple Projects

Tuesday, December 20th, 2005

“How can I share one source code file across several projects? I want to have this file on one place only and use it in multiple projects so when I modify it in one project, the changes get automatically reflected in all projects. When I add existing file to the project, a local copy is […]

Debugging a macro in VS

Monday, December 19th, 2005

I’ve just played with one macro and wanted to debug it. I placed a breakpoint and ran the macro. Macro worked fine but it didn’t stop on breakpoint. It took me some time to realize that you must explicitly enable debugging in Macros IDE:

In macros IDE, go to menu Debug and select Enable Debugging.

You can […]

Assigning a Keyboard Shortcut to Macro in VS

Thursday, December 15th, 2005

Last time I forgot to mention one important thing - how to assign a keyboard shortcut to your macro. Often you don’t need any button for your macro, the shortcut is enough. Or you can have both. As I already wrote, macro is similar to any named command. So to assign a shortcut to it:

Go […]

Placing a Macro on VS .NET Toolbar or Menu

Wednesday, December 14th, 2005

Well, not very accurate title. In fact, we cannot place a macro itself on the toolbar or menu. Instead we can create a button for it. But let’s start from the beginning.
You have created your super macro which saves you a lot of work in Visual Studio .NET (see how to create macro). It works […]

How To Create and Run Macro in Visual Studio .NET

Tuesday, December 6th, 2005

Welcome to my new blog. Here I will share some of my tips and tricks about VS that I learned or other people have asked for.
I start with the basic lesson about macros. Macros are still undiscovered area for many VS users though creating a macro is a quite simple task. Some people don't have [...]