Documentation for the call method of a function

Hi all, lets suppose I have this function in JavaScript:

function foo(bar, baz) { ... }

and I call it using the "call" method this way:

foo.call(someThis, someBar, someBaz);

Right now WebStorm shows tooltip with information about function's parameters, but it shows something like [thisArg, ...optional args]. Is it possible to convince WebStorm to show more usefull information, something like [thisArg, bar, baz]? I. e. I do not need documentation for the .call method itself I need documentation for the function I'm actually calling, the foo function.

Please sign in to leave a comment.