partha-das / jsdt-jquery

Automatically exported from code.google.com/p/jsdt-jquery
0 stars 0 forks source link

Not showing proper suggestion for setting attr() #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Not showing suggestion for attr() properly. It is only showing attr(String 
attributeName) no suggestion for setting the attribute. e.g.

$("button").click(function(){
  $("#w3s").attr("href","http://www.w3schools.com/jquery");
});

$("button").click(function(){
  $("#w3s").attr("href", function(i,origValue){
    return origValue + "/jquery"; 
  });
});

Original issue reported on code.google.com by anidotNET on 12 Jan 2013 at 4:29

GoogleCodeExporter commented 9 years ago
Unfortunately this is because JSDT does not support function overlading:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=348319
There isn't anything that I can do until this is fixed on their side.

Original comment by philippe...@gmail.com on 23 Mar 2014 at 11:01