Wednesday, June 9, 2010

Square selection in Visual studio 2010

In visual studio 2010 we can easily select the items in square manner and replace those things.Here is one example.

Private

Here i have three private variable and i need to change it to public all at a time, press Alt Key and select the square area where you want.

square

Then type the thing what you want is select in the square where you selected and type.I changed private to internal.

internal

Enable javascript Debugging in IE

To enable javascript in IE, do the following steps

Open IE –> Tools –>  Internet Options –> Go to Advanced Tab –> uncheck Disable script debugging(Internet Explore)

Javascript

Note: uncheck Disable script debugging(other) to enable debugging in other scripts.

Now open visual studio and put break point in the javascript where you want and runt it once the scripts fire the break point also will hit.

 
Counter