خرید بک لینک

Vote count: 0

I know that is possible to extract a method from a piece of code (Refactor->Extract method), but I miss the same tool to extract a local variable as other IDEs do.

For example:

if (someFunctionCall()) {...}

I want to extract this call to a local variable, because I use the returned value in multiple parts within the same scope.

bool localvar = someFunctionCall();
if (localvar) {...}
asked 24 secs ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 22 ارديبهشت 1396 ساعت: 16:55

صفحه بندی