Wikunia / brackets-FuncDocr

FuncDocr generates JS/PHPDoc annotations for your functions
101 stars 14 forks source link

@private tag #82

Closed Hirse closed 8 years ago

Hirse commented 8 years ago

Could you add support for the @private tag?

  1. Format existing JSDoc with has a @private tag.
  2. Add a @private tag if the function name starts with an underscore.
Wikunia commented 8 years ago

I am not using Brackets that often anymore so it will take a bit longer. But I will work on it. Thanks for the request.

ekatzenstein commented 8 years ago

@Wikunia , what are you using these days instead of Brackets?

Wikunia commented 8 years ago

Mostly Webstorm which isn't open source, unfortunately.

Wikunia commented 8 years ago

Again thanks for your issue! Would be great if you can update to the new version. The version isn't registered yet, but you can easily update using Install from URL. If everything works fine, I'll register the new version asap. Have an nice day!

Hirse commented 8 years ago

Thanks for adding this feature.

For a function like Object.prototype.get = function I am getting the following error:

Uncaught TypeError: Cannot read property 'charAt' of undefined

in main.js line 601 because signatureObj.funcName is undefined.

Wikunia commented 8 years ago

I'm sorry, I missed something... Hope it works now ;)

Hirse commented 8 years ago

Yes, looks good now. Thanks.