Go to your Sublime Text 2 Packages directory and clone the repository using the command below:
git clone [email protected]:shell/sublime-tomdoc.git
Don't forget to keep updating it, though!
Pressing ctrl+enter on the previous line of method definition
def hello a, b
end
results
# Public: Duplicate some text an arbitrary number of times.
#
# a -
# b -
#
# Returns the duplicated String.
def hello a, b
end
Works respectfully for all other supported constructions
Type 'tom' and hit TAB to generate default TomDoc skeleton text.
Support following constructions for TomDoc:
- Method Documentation
- Initialize method Documentation
- Class/Module Documentation
- Constants Documentation
- Attributes
Vladimir Penkin
Credits to:
Please see licence