C#/visualstudio
useful shortcut.
WiseHammer
2019. 1. 24. 00:23
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.