Sublime-yardoc

SublimeText 2 plugin to generate yardoc

View the Project on GitHub revathskumar/sublime-yardoc

SublimeText package for generating Yardoc

Installation

With Package Control

The easiest way to install this is with Package Control.

Package Control will automatically keep Yardoc up to date with the latest version.

Without Package Control

Go to your Sublime Text 2 Packages directory and clone the repository using the command below:

git clone git@github.com:revathskumar/sublime-yardoc.git yardoc

Don't forget to keep updating it, though!

Usage

Pressing ctrl+enter on the previous line of method definition

def hello a, b

end

results

#
# [hello description]
# @param  a [type] [description]
# @param  b [type] [description]
#
# @return [type] [description]
def hello a, b

end

Method yardoc

Pressing ctrl+enter on the previous line of class definition

class Hello

end

results

#
# @author
#
class Hello

end

License

Please see licence