SurroundWith:
SurroundWith is a keyword used in Visual Studio environment which is actually used to create template of a code snippet for looping , class, structs, interfaces, etc. which will reduce some time spending on typing to use surround with follow the steps below.
1) Move the cursor where u want to get the code snippet 2) press CTRL+k,CTRL+s the surroundwith IntelliSense will popup 3) select the template you want (say) if u want for loop then select for 4) you will get for loop template like the following format * for(int i=0;i<0;i++){} 5) likewise you can get whatever template present in the IntelliSense.
|
| Author: Rabiya 17 Jul 2009 | Member Level: Gold Points : 1 |
Hello there, I used Ctrl+k and Ctrl+S, however in VS it is saying like 'The key combination(Ctrl+k and Ctrl+S) is bound to command(&SurroundWith) which is not currently available'. What should i do? Any idea? Thanks, Rabiya
|