View code comments in your terminal
class MyClass
#TODO: complete this method
def complete_me
end
#FIXME: fix this method
def fix_me
end
#OPTIMIZE: optimize this method
def optimize_me
end
end
In you terminal
$ rake notes
app/models/myclass.rb:
* [2] [TODO] completethismethod
* [3] [FIXME] fixthismethod
* [4] [OPTIMIZE] optimizethis_method
Filter each comment type with rake notes:todo, rake notes:fixme or rake notes:optimize.
Create your custom comment types with rake notes:custom ANNOTATION=JAZNOTE
Written by Jazmin Schroeder
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#N
Authors
Related Tags
#n
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#