January 5th, 2006
Did you ever want to write very long string constant in your source code? You surely did if you wanted to display longer text in message box, for example. Or you wanted to create a macro which generates some longer source code. In this case you needed the code template stored in a string if [...]
Posted in Visual Studio Tips | 3 Comments »
December 27th, 2005
VS 2005 introduced new feature which confuses many people. Newly opened documents are placed in reverse order - to the left of already opened pages and not to the right as it used to be in VS 2002/2003 and as we know it from majority of programs that use tabbed interface. Existing documents are scrolled [...]
Posted in Visual Studio Tips | 1 Comment »
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 [...]
Posted in Visual Studio Tips | 2 Comments »
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 [...]
Posted in Visual Studio Tips | No Comments »
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 [...]
Posted in Visual Studio Tips | 2 Comments »