Why WebSorm doesn't hint "Unresolved variable" in JavaScript codes
WebSorm doesn't hint "Unresolved variable" in JavaScript codes. But if I write a variable that has NEVER been used before, WebStorm will identify it accurately. Obviously, it's NOT because this functionality was turned off. It just seems that WebStorm has automatically buffered older versions of codes somewhere, and "cleverly" finds variable declarations THERE. If so, then, how can I clear those buffers? Without the guideness of wave lines, the debugging would be a nightmare.
Thanks in advance.
Please sign in to leave a comment.
If certain variable is not marked as unresolved, it's likely resolved by WebStorm. Ctrl+click on it - what is the result?
It seems a good way to solve my problem. Thank you very much! I will post further comments when I encounter any problems on this issue or when I get a conclusion.
@Elena Pogorelova, It doesn't really work the way it should:
Ctrl+click on `that` follows to this:

Which is absolutely unrelated part of a code.
It's seems like the IDE simply search for a random variable with the same name whatever it's located (even in unused method or function). It's just stupid.