Pages

Saturday 11 August 2012

How to Copy and Paste block of code in visual studio?


Well we all know copy and paste function but if you want only some text to copy and paste from code block then it is very cumbersome process to do that one by one. 

Look at the following example:

Now suppose i want to change objUserEAL to objUserDetailsEAL in following code snippet then just press and hold down “ALT” key while selecting code region and you can copy/paste it anywhere you want in code.


Image of normal selection













Image of press and hold down “ALT” key while selection


















No comments:

Post a Comment