revathskumar/sublime-yardoc — pull request #9 by HerbCSO (2013-07-17 02:54:25+00:00)
Title: Improving output, adding options for initial empty comment line and trailing space suppression

Hi there,

I've worked on improving the output of this plugin so that it no longer forces me to go to the previous line to hit **Ctrl-Enter** to generate the method docs, but rather I can do it on the method definition line itself (which seems much more natural to me).

There are also additional entries in the regex to recognize methods - it now handles methods with numbers in the name as well as operator overload methods.

I also added two options to suppress the initial empty comment line (stylistically I don't like it, but it's on by default because I realize not everyone will agree with me there ;] ) and to remove trailing spaces on the comment lines (I have the Trailing Spaces plugin that highlights them in bright distracting pink, so it's nice to not have those show up - again, they're still there by default so the existing behavior isn't changed by this).

Last but not least, I added menu options for the settings and key mappings.

Let me know if you're OK to merge this or if you'd like me to make changes.

Thanks!