The easiest way to install this is with Package Control.
Package Control will automatically keep Yardoc up to date with the latest version.
Go to your Sublime Text 2 Packages directory and clone the repository using the command below:
git clone email@example.com:revathskumar/sublime-yardoc.git yardoc
Don't forget to keep updating it, though!
Pressing ctrl+enter on the previous line of method definition
def hello a, b end
# # [hello description] # @param a [type] [description] # @param b [type] [description] # # @return [type] [description] def hello a, b end
Pressing ctrl+enter on the previous line of class definition
class Hello end
# # @author # class Hello end
Please see licence