【发布时间】:2015-06-22 17:55:05
【问题描述】:
我正在使用 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
【问题讨论】:
标签: javascript prototype intellisense visual-studio-code