我正在使用VS Code,我希望Intellisense能够识别javascript原型函数。有没有办法配置它呢?
function MyObject() {}
MyObject.prototype.foo = function() {};
MyObject.prototype.bar = function() {};
var myObj = new MyObject();
myObj. //I want Intellisense to show me the foo and bar functions here