From Denys Yefimenko (@denysyefimenko) on April 18, 2016 11:9
- VSCode Version: 1.0.0
- OS Version: Windows 10 Enterprise
Steps to Reproduce:
- Create two js files.
moduleA.js
varconstructorFunction=function(){};constructorFunction.prototype.prototypeMethod=function(){};module.exports=constructorFunction;moduleB.js
varmoduleA=require('./moduleA');varconstructedObject=newmoduleA();constructedObject.- Try get intellisense suggestion after dot in moduleB.
- No intellisense provided.
- If I change code in moduleA as following:
functionconstructorFunction(){}constructorFunction.prototype.prototypeMethod=function(){};module.exports=constructorFunction;intellisense in moduleB starts working.
Expected result: intellisense works no matter how exported function is defined.
Copied from original issue: microsoft/vscode#5442
From Denys Yefimenko (@denysyefimenko) on April 18, 2016 11:9
Steps to Reproduce:
moduleA.js
moduleB.js
intellisense in moduleB starts working.
Expected result: intellisense works no matter how exported function is defined.
Copied from original issue: microsoft/vscode#5442