For example I have this code:
if (cond) {
lock (locker) {
foreach (var item in list) {
callFunc(item);
}
}
}
And I now want to remove all those brackets because they are too redundant. I always do it manually but I find myself doing this often so was wondering if there's a shortcut I missed or easy way to do this. Google didn't find anything.