1. How to remove unused using.
Press ctrl and continuously press G and R.
You should not release the ctrl until pressing G and R.
2. Cutting line and past it as a new line in the middle of line.
Press ctrl + x where you want to cut the line.
Press ctrl + v where you want to paste it on the before line.
press ctrl + c
press ctrl + v
3. auto complete
Write if and press tab twice then the 'if' will change as follow.
if (true)
{
}
After you change the true value, Hit enter then cursor is located in the middle of the brace.
You can use it at the almost reserved word.
'C# > visualstudio' 카테고리의 다른 글
Convert List<string>to a string divided into comma. (0) | 2019.01.30 |
---|---|
What kind of shortcut in VisualStudio 2017 and how to change shortcut. (0) | 2019.01.23 |