C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Tips » Visual Studio »

Tips for Fast coding in Visual Studio


Posted Date: 06 Nov 2008    Resource Type: Tips    Category: Visual Studio
Author: Saravanan KanagarasuMember Level: Gold    
Rating: 1 out of 5Points: 5



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.




Responses

Author: Rabiya    17 Jul 2009Member 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


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
SurroundWith in Visual Studio(VS)  .  Surround With keyword in VS(Visual Studio)  .  Fast Coding in Visual Studio(VS)  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Debugging in VS.NET
Previous Resource: Issues related to importing a .Net application to Mono
Return to Discussion Resource Index
Post New Resource
Category: Visual Studio


Post resources and earn money!
 
Related Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use