Visual Studio不自动完成JS功能

时间:2011-11-11 16:57:58

标签: javascript visual-studio-2010 autocomplete

自动完成用于处理此功能(当参数较少时):

function player(firstName, lastName, hometownCity, hometownState, highSchoolName, otherAccountName, redshirted, transferred, hometownZip, hometownCountry, bioLink, collegeYear, HighSchoolGradYear, Position, Number, HeightFeet, HeightInches, Weight, Gender, PlayerId) {
this.FirstName = ko.observable(firstName);
this.LastName =  ko.observable(lastName);
this.HometownCity =  ko.observable(hometownCity);
this.HometownState =  ko.observable(hometownState);
this.Name_HighSchool =  ko.observable(highSchoolName);
this.Name_OtherAccount =  ko.observable(otherAccountName);
this.Redshirted =  ko.observable(redshirted);
this.Transferred =  ko.observable(transferred);
this.HometownZip =  ko.observable(hometownZip);
this.HometownCountry =  ko.observable(hometownCountry);
this.BioLink =  ko.observable(bioLink);
this.CollegeYear =  ko.observable(collegeYear);
this.HighSchoolGradYear =  ko.observable(HighSchoolGradYear);
this.Position =  ko.observable(Position);
this.Number =  ko.observable(Number);
this.HeightFeet =  ko.observable(HeightFeet);
this.HeightInches =  ko.observable(HeightInches);
this.Weight =  ko.observable(Weight);
this.Gender = ko.observable(Gender);
this.PlayerId = PlayerId;
}

仍然适用于此功能(所以我知道启用了自动完成功能):

function stuff(thing) {
this.thing = thing;
}

var p = new player(...)p.Fir....上的自动填充功能都无效。

自动完成功能大小是否有限制?

谢谢!

0 个答案:

没有答案