You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IntelliSense doesn't list ambiguous variables (e.g. variables that are multiply defined) leading to some unfortunate behavior if quickly type something followed by expecting the variable.
I am rewriting this function to add “double width” to the parameter list. Note this causes an error on line 90 – since I define a local variable of that name there – but there is no indication of an error on line 73.
I then – on line 83 – type “if (wid” expecting to get the width parameter but instead – before the tab – I get this, so tab selects CaretWidthOption. Imagine how confusing this is if I’m working in a larger function.
My expectation is that things like IntelliSense would use the preceding definition of width rather than suppressing it entirely because there’s an error or ambiguity.