Closed jmatthiesen closed 10 years ago
This is still an issue in the latest release. I have a couple of hackish ideas of how to fix it, but don't want to explore those until we talk further about the VS JavaScript editor.
Fixed in 38f04df37050bd868d6979a7f87ce4a35ac30b16.
A hard one to summarize in words, but perhaps a code example will make it clear. I have a case here where IntelliSense fails for dependencies defined within the same module, but in separate files. Here's the scenario that breaks
IntelliSense for logger. doesn't work in common.js, because the line of code that creates the common module within that file resets the module and loses that logger is ever defined on it.
common.js
logger.js
In the first example, if you change the module definition to
var commonModule = angular.module('common');
it works fine.