21 Feb 2011

Ignore White Space in Visual Studio - TFS built in compare tool


These are compare arguments for TFS comparer. Tools > options > source Control > VS TFS. It will ignore white space in comparison/merge window.

Here are the values for the fields to copy paste

Extension - .*
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\diffmerge.exe
Compare Args - %1 %2 %6 %7 %5 /ignorespace
Merge Args - %1 %2 %3 %4 %6 %7 %8 %9 /ignorespace






For Visual Studiio 2008  use "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\diffmerge.exe"

1 Aug 2010

I’m Yearling at StackOverflow

Yippie! I got a yearling badge today (1st August 2010) and coincidently it's a Friendship Day.

Happy Friendship Day to my friend StackOverflow.com

9 Apr 2009

Power Commands for Visual Studio 2008

Power Commands for Visual Studio 2008 makes life of a programmer a lot easier within Visual Studio IDE. Some of the cool features are.

Copy Path
This command copies the full path of the currently selected item to the clipboard. It can be executed by right-clicking one of these nodes in the Solution Explorer:
· The solution node.
· A project node.
· Any project item node.
· Any folder.

Undo Close
This command reopens a closed document , returning the cursor to its last position. To reopen the most recently closed document, point to theEdit menu, then clickUndo Close. Alternately, you can use the Ctrl+Shift+Z shortcut.
To reopen any other recently closed document, point to theView menu, click Other Windows, and then click Undo Close Window. The Undo Closewindow appears, typically next to theOutputwindow.
UndoClose.png

Collapse Projects
This command collapses a hierarchy in the solution explorer starting from the root selected node. It can be executed from three different places: solution, solution folders and project nodes respectively.
CollapseProjects1.png
CollapseProjects2.png

Copy References
This command copies a reference or set of references to the clipboard. It can be executed from the references node, a single reference node or set of reference nodes.
CopyReferences2.png
CopyReferences1.png

Paste References
This command pastes a reference or set of references from the clipboard. It can be executed from different places depending on the type of project. For CSharp projects it can be executed from the references node. For Visual Basic and Website projects it can be executed from the project node.
PasteReferences.png
PasteReferences2.png

Copy As Project Reference
This command copies a project as a project reference to the clipboard. It can be executed from a project node.

CopyAsProjectReference.png

Find out more of what it can do for you from here. It’s a .docx file less than 1 MB in size. It will be downloaded in click.
Download it free from here. In fact source code is also available.

10 Dec 2008

Clip Diary

Clip Diary keeps history of clipboard and you can iterate through it by Ctrl + Shift + Up Key and Ctrl + Shift + Down Key. How amazing is that? Try it from here. Its open source and free to use.
Download - http://clipdiary.com/download.php
Screenshots - http://clipdiary.com/screenshots.php

26 Dec 2007

Microsoft Expression Web Designer

Try out the new HTML Designer from non other than Microsoft. After Adobe’s Dreamweaver, I think this is the one of a kind HTML web designing tool which supports CSS and div based HTML design. Also it supports aspx pages and ascx controls. That means if you have your custom controls, it will show your custom control also at design time itself. It has powerful Intellisense and Hyperlinks for JavaScript function and CSS (as shown in the image here). That means if you click on a javascript function name inside the code with a CTRL key pressed, it will take you directly to the definition of that function. The function may be defined in a referenced .js file. Then to it will navigate to the correct location. Same applies with CSS class names. Also design view support for table based design is very nice. And you can apply styles in the designer itself. All the styles difined in the .css file referenced by your HTML/aspx page will be visible with its effects(the way it will look when rendred) in the Apply Styles Pane. I will rate Expression Web Designer better than Dreamweaver. So go and get the trial version right now here.

Fire Bug is a must for every web developer

Fire bug is an extension which sits right into the Firefox internet browser. Using Fire bug a developer can easily navigate through the tree-view of Document Object Model (DOM) of a web page. It provides command window, facility to debug javascript, specify a break point, change CSS and HTML in memory and you can see changes on fly. Awsome!! Isn't it?
So try Fire bug right now here.