Some intellisense errors/warnings do not show a tooltip.
Posted: June 20th, 2018, 5:32 pm
Usually when you have some kind of issue in the code, hovering your mouse over the underlined code will display a tooltip indicating what the problem is.
In some cases I am unable to view the message. For example, the following simple function has 3 different problems:
The issues are that not all paths return a value, division by zero, and an unused variable. I am unable to see the message regarding the unused variable. See the following recording:
In some cases I am unable to view the message. For example, the following simple function has 3 different problems:
- Code: Select all
function foo($input) {
$divisionByZero = 1 / 0;
if ($input) {
return $divisionByZero;
}
$unusedVar = 1;
}
The issues are that not all paths return a value, division by zero, and an unused variable. I am unable to see the message regarding the unused variable. See the following recording: