Webstorm Code Completion is not context sensitiive

It seems like Code Completion in Webstorm shows not only valid options for functions for a specific object or element, but any and all functions and variables for all objects and elements available.

For example, when using Math.  If I type the period, this is what pops up:
    CodeCompletion1.PNG
However, scrolling down shows ALL possible choices, even totally invalid ones:
CodeCompletion2.PNG
Any way to limit this?

Thanks

Lou

1 comment
Comment actions Permalink

Please try to turn off "Use weaker type guess for completion" preference in Settings | JavaScript

0

Please sign in to leave a comment.