JavaScript: restrict suggestion list for var/object
Is it possible some how to restrict suggestion list for specific variable?
For example i have Jquery plugin.
(function ($, undefined) {
var config = {
variable1: "",
variable2: ""
};
var methods = {
method1: function (options) {
...
},
method2 {
...
config.<AFTER DOT IN SUGGESTION LIST I WANT TO SEE HERE ONLY: variable1, variable2>
},
method3 {
....
methods.<AFTER DOT IN SUGGESTION LIST I WANT TO SEE HERE ONLY: method1, method2, method3>
}
}
})(jQuery);
Please sign in to leave a comment.
Right now it is not possible, please file Youtrack ticket