7 ms·
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 othe
by nhmood 13y 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!
- finnn 13y agoWhat 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