Visual Studio
I found interesting macro. It allows you to attach to a process from VS. I use it very often to attach to NUnit gui. I have a toolbar button in my VS that invokes the macro. I found it quite useful.'This subroutine attaches to the first nunit-gui.exe process found. Sub AttachToNUnit() Dim process As EnvDTE.Process For Each process In DTE.Debugger.LocalProcesses If (process.Name.ToLower().End... Then process.Attach() Exit Sub End If Next MsgBox("No nunit-gui.exe found") End Sub...
In application I write actually there is a requirement that end-user should have ability to change the UI look. My strange-user can design ui elements on each form and user control in the application. He also 'needs' to add new controls to the UI. Let's not discuss sense of the requirement as I don't like it anyway. I didn't implement the feature yet but I found in the MSDN Magazine an artcile about hosting VS designers in .NET application (The Perfect Host: Create And Host Custom Designers With...
For those of you who use .NET 2.0 and want to document their code with triple slashes (///) there is good news. NDoc (free tool for creating documentation from the triple slashes) is being ported to .NET 2.0. I used the NDoc in .NET 1.1 and it is great tool (especially that it is free). Each of libraries I developed was well documented so I could see (from the documentation) at which point with the development I am. I encourage everyone to comment the code and to try the NDoc, but remember it's not...
I found interesting feature of Visual Studio editor. You can enable it to display vertical lines (guides): Unfortunatelly to enable the lines you must change registry: 1. Find registry key: HKEY_CURRENT_USER\Software\... Editor2. Add string value there: "Guides"="RGB(220,220,220) 4, 8, 12" Here is a link to the original blog i found it on: Guidelines – a hidden feature for the Visual Studio Editor...