Hacker News new | ask | show | jobs
by nhmood 4591 days ago
As mentioned below, it currently has support for parsing C / C++, Java, C#, Bash, Ruby, Perl, and Python files

It is pretty trivial to add support for any other language or comment type however, take a look at #get_comment_type in lib/watson/parser.rb

Never, thought about offering this as a service, having this as a commit hook is a very interesting idea though, thanks!

1 comments

What about encouraging use/automated installation of local git hooks, ie. run watson locally after a successful push. I've just begun looking at git hooks but this seems like exactly the sort of thing they were intended for