In Visual Studio I can type e.g.
for TAB TAB
and a code snippet pops in.
Are there built-in code
Below are the steps I used to create a custom snippet for Visual Studio 2010, but the steps work for Visual Studio 2008.
Create a new text file named method.snippet and paste the following:
method
method
Code snippet for method
Kevin Hogg
Expansion
methodname
Method name
MethodName()
MethodNamePlaceholder
Copy your file into the snippets folder in Windows Explorer:
Once you save your file, the snippets are automatically loaded, so you can now open Visual Studio and type:
method
*where
You should now see the following created, with the MethodNamePlaceholder highlighted so you can change the name.
public void MethodNamePlaceholder()
{
}