I don't feel so good lately. I have all signs of pneumonia but doctors say I don't have it. They say I should rest for 10 days but I cracked after 3 and went back to work. Time will tell if that was a mistake. Unfortunately, right now it looks like it might be. But that's not the point of this post!
In those 3 days I was at home I connected via VPN to my companies network and I tried to be useful.
I learned following things:
- there is no way I could go back and use Visual Studio .Net on one monitor. Lucky I fixed that some time ago.
- I'm addicted to DSWatch
- I'm addicted to VSFileFinder
I would also recommend this plugins:
- CodeSmith (we use it to generate stored procedures and some other code)
- UnleashIT (I use it to deploy new versions of TVvSPOREDnik)
And while we are at it, check out this VS.net macro. I call it Poor Man's Bracket Matching (at least until VS2005):
3 Dim Matchable As String = ")}]""'"
5 Dim objTextDoc As TextDocument
6 Dim objEditPt As EditPoint
8 objTextDoc = DTE.ActiveDocument.Object("TextDocument")
9 objEditPt = objTextDoc.StartPoint.CreateEditPoint
11 Dim sel As TextSelection = DTE.ActiveDocument.Selection
12 Dim c As String
15 If Matchable.IndexOf(sel.Text) = 0 Then
16 c = sel.Text
18 DTE.ActiveDocument.Selection.Text = c
22 If Matchable.IndexOf(sel.Text) = 0 Then
23 c = sel.Text
25 DTE.ActiveDocument.Selection.Text = c
28 End If
29 End If
I usually assign it to CTRL + 9 key combination. Now, go to your source and put caret before or after any bracket. Press CTRL + 9. Matching bracket should appear bold for a second or two, just as it does when you first write it. As with all macros it will be rather slow when you run it for the first time, so don't dump it right away.
And it also helps if you set brace matching color to something bright, like red. Go to Tools / Options / Environment / Font and Color / Display Items: Brace Matching and set it's foreground color.