eclipse-typescript
eclipse-typescript copied to clipboard
Option to inject JsDoc in code
It would be nice to have an option to inject JsDoc on wanted items (class, interface, module, variable, function, ...). Asx a right click on the wanted item. It can write the template with the default fileds (@param, @typedef, ...) adapted to the selected item. Example:
/** @namespace My.Namespace / module My.Namespace { /* @class SomeClass */ export class SomeClass { } }
Do you mean like the @params are automatically injected when adding a jsdoc for a method? Something like that?
Yes.
Ah yeah cool, same as Java then. That's a good request. I think the signature info could probably be used to do this without too much trouble. Lemme know if you'd be interested in submitting a pull request for this. I'm not likely to get to this for a while. I should mention we have a CLA now though (I need to post it to the repo).
ok I will write a pull request tomorrow (with all informations about JsDoc tags if you want)
Sounds good to me