Noob Question.
What is the shortcut for inserting brackets and curly braces in visual studio?
To look like this
(){
}
I've seen it in a video, but can't remember how to do it.
Thanks in advance.
Anthony.
Asked
Active
Viewed 1,357 times
0

Anthony Girdler
- 1
- 1
-
See https://stackoverflow.com/questions/47241777/how-can-i-type-0-more-quickly-in-visual-studio – Sergey Vlasov Feb 22 '18 at 16:58
1 Answers
3
Type the appropriate keyword and press tab
key on keyboard twice.
For example, if you type if
and press tab
key on keyboard twice, you will see the following code:
if (true)
{
}
You can try out other keywords like while
, try
, for
,etc.

Shridhar R Kulkarni
- 6,653
- 3
- 37
- 57