I use the awesome Fiddler2 to debug HTTP, and I needed to compare sessions. Fiddler has a support for this, but when I clicked Tools – Compare Sessions, it prompted me to install Windiff.exe.
This is why I love Google
Google recursion.
WinForms bug: NodeMouseDoubleClick event in TreeView will sometimes have the wrong node in EventArgs
Here’s a strange bug I’ve encountered today in a WinForms application. Usually, double clicking on a collapsed tree node (which obviously has child nodes) will expand it. Most of the time when we need something to happen when a child node is double clicked, but not the parent, we write something similar to:
Smart Paste Add-In for Visual Studio 2008
Say you need to paste a chunk of XML (or WKT) into Visual Studio as a string literal (for your unit tests, or what not). How would you do it?
In C#, string literals can be represented in two ways:
Awesome tip: make View Code default double click action on a WinForm control
Here is something I wish I’d known years ago – you can make the View Source action default when you double click on a WinForm control.
ReSharper: Fixing array and object initializer indentation
There are tons of options when it comes to configuring your coding style in ReSharper. Somehow I managed to screw the indentation of array and object initializers’ variables. This is what it looked like (I use At Next Line (BSD style) setting):
ReSharper 4.5 Beta Released – First Impressions
Awesome tip: Copy text from any Message Box to Clipboard
I just found out that it’s possible to copy the text from any message box to clipboard by pressing Ctrl-C when the message box appears! Think of all the times you needed to search for an exact error message text, and needed to switch back and forth between the message and your browser window.
5 ways ReSharper changed my programming style
I love ReSharper. It has completely changed the way I think about code. When I have to use Visual Studio without ReSharper installed, I feel like I’m writing the code in Notepad. As my first actual post on this blog I’d like to present a few features of ReSharper 4.1 that help me code faster, better, (stronger) and with much higher accuracy.
Console.WriteLine("Hello World!");
I’ve finally decided to give this blogging thing a try. So please, stay tuned until I figure something remotely interesting to write.