Priyang Patel’s Weblog


Find files faster with Find Combo Box !!!!

Posted in Visual Studio Tips and Tricks by priyangpatel on May 30, 2008

This is the Find dropdown that is on the Standard Toolbar, not the Find dialog. Use the shortcut CTRL+D to activate the Find dropdown in normal mode. Use CTRL+/ to activate the Find dropdown in command mode (with “>” prepended… this doesn’t work sometimes for me).


To quickly go to a file, type CTRL+D, >open . Intellisense works here just like in the Command Window. “of” (short for “open file”) can be used instead of open. Compare this with opening Solution Explorer, expand the correct folder/project, and visually hunt for the file you need.

Advertisements

Start debugging faster by "Attach to Process"

Posted in Visual Studio Tips and Tricks by priyangpatel on May 30, 2008

Most ASP.NET developers use the standard F5 (Debug/Start Debugging) to start debugging from Visual Studio. However, there is a much faster way to start debugging if you already have an instance of your web application running. Just attach to it instead:

  • Choose Debug/Attach to Process.
  • Select the “aspnet_wp.exe” process and choose Attach.

Debugging this way is faster because you skip the often-lengthy compilation step, and you don’t have to navigate from the start page to the actual page that you want to debug.

Enjoy Code Snippet with Visual Studio 2008 !!!!!!!

Posted in Visual Studio Tips and Tricks by priyangpatel on May 27, 2008

If you know what is “Code Snippet” ? & how to use it? with visual studio 2005.

But now if you are using Visual Studio 2008 then you won’t find it. Don’t worry it is not removed from visual studio, you can still use it.

Copy and paste or create your snippet file to following address of your computer:

My Documents\Visual Studio 2008\Code Snippets\Visual C#\My Code Snippets

It’s done, just go to visual studio and write down snippet name and press tab.

Cheers!!!!