Nov 24th, 2008 | No Comments

Every good developer knows how to use his tools. He knows what can be done, which are the shortcuts, that’s the sign of good Geek. Knowing your tool is very important to get your work done faster.

In Visual Studio you can play around with the editors settings write from setting up your own shortcuts chaning font color, font size, selection color and many more things.

You can access the options of the Visual Studio from Tools – Options,

options

Some of my favourite settings are Line numbers, Selection color. You can change entire settings of Visual Studio from this Options menu.

texteditor

You can see here you can also make changes which are specific to languages, you can use in Visual Studio.

Of all this my favourite one is the, ability to change inbuilt keyboard shortcuts. Some of the best inbuilt keyboard shortcuts are

ctrl k + ctrl d = indentation,

ctrl k + ctrl c = comment

ctrl k + ctrl u = uncommnet

ctrl k + ctrl k = toogle bookmark

and many more. Although you have complete control over these and you can change this as per your convinience.

shortcuts

Written by Ajay Matharu

November 24th, 2008 at 3:32 am

Nov 17th, 2008 | 1 Comment

Hi, Many a times we find it difficult to debug big applications. If we run the application it takes too much time to build and then run the application. Also at times it becomes difficult when you have to debug a code and you can not run the application because some other part of code is errorneous. How to debug the application or code in this scenario?

You can open the page in the browser by right click on the page in the IDE - View in browser or directly open the page in the browser by URL.

Go to IDE – Tools – Attatch to process or (ctrl + alt + P)

check on both the check boxes at the bottom and select the process W3WP in Windows Server 2003 and ASPNETWP in Windows XP and Windows server 2000.

Refresh the page the breakpoint will hit and you can debug the application

Written by Ajay Matharu

November 17th, 2008 at 3:29 am