Javascript "go to declaration" enhancements for class-specific functions in future versions?

[6.1.1000]

Given the code below, are you planning in a near future to support any of the following:
1) Goto declaration on class1.Foo() will go to Class1's declaration rather than requesting user to choose one of Class1 and Class2.
2) Documentation support for intellisense in code designed as below, i.e. display either "Foo of Class1" or "Returns Foo of Class1" when having class1.Foo selected in the intellisense popup.

Thanks.

var Class1 = function() {
};
Class1.prototype = function() {
 
    function Foo() {
        ///<summary>Foo of Class1</summary>
        return 1;
    }
 
    return {
        ///<summary>Returns Foo of Class1</summary>
        Foo: Foo
    };
}();
var Class2 = function() {
};
Class2.prototype = function() {
 
    function Foo() {
        ///<summary>Foo of Class2</summary>
        return 2;
    }
 
    return {
        ///<summary>Returns Foo of Class2</summary>
        Foo: Foo
    };
}();
var main = function() {
    var class1 = new Class1();
    var class2 = new Class2();
    var val1 = class1.Foo();
    var val2 = class2.Foo();
};

Please sign in to leave a comment.