https://github.com/pidu/signature.git
git clone 'git://github.com/pidu/signature.git'
Generate a signature survey for a glob pattern of your ruby project. Only ruby supported so far and support is spotty because of ruby's complicated syntax.
Inspired by: http://c2.com/doc/SignatureSurvey.
<>
denoted classes{}
denotes methods[]
denotes loops()
denotes conditionals'
denotes comments.
denotes other types of rowsFor ruby there is also |
which indicates a block.
This is proof of concept code to determine usefulness of approach, it might benefit from some more elaborate highlighting.
Other languages would be nice as well. Javascript and Coffeescript would probably be first up. If one could ride on top of semantic that would be nice as well but I'm not familiar enough with it.
Installation alternatives:
load-path
.Issue M-x signature-report
and supply a glob pattern to the ruby
files to display signatures for.
In the signature buffer you can use M-.
to navigate to the file and
line in the signature.
Use C-q
to kill the signature buffer.