12
I installed the JsDocs package and use it to document my code. ATM I'm using SublimeCodeIntel with Alt+Click
to jump to the documentation, but this is quite annoying, especially when you just want to look up one little detail and then have to scroll back.
Assuming I've got a function foo
like this:
/**
* foo does some multiplication magic
* @param {Number} bar var number 1
* @param {Number} baz var number 2
* @return {Number} this equals bar*baz
*/
function foo(bar, baz) {
return bar*baz;
}
Is there any package/plugin that displays the documentation of the function foo
and its params and its return value when I type foo(
(without scrolling to the documentation)?
That would be something... but nothing out there yet ey?! – Dominik – 2014-07-14T00:33:55.843
This would be immensely useful... – Laoujin – 2015-01-30T12:43:00.800
@Laoujin I'm not too familiar with this idea; is it similar to intellisense - intelligent code completion where it shows what attributes you could use. Or is it something else? – Raystafarian – 2015-02-02T14:04:26.653
Something that when you call a function you can see the JsDoc without going to the function implementation. Ideally this would be some sort of tooltip. So yes, intellisense.. – Laoujin – 2015-02-02T14:50:29.447
This would be fantastic. I am guessing this feature still does not exist? – theblang – 2017-03-27T21:54:23.267