You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest to add LaTeX to the list of _input_ formats to analyze so you can do:
./gitinspector.py -f tex
Comments in LaTeX are lines starting at % but not at \%, like this:
%comment comment
code code code % comment comment
code code %
code code 50 \% code and 40\% code %comment comment
Original issue reported on code.google.com by iocheson...@gmail.com on 29 Jun 2013 at 10:12
The text was updated successfully, but these errors were encountered:
I quickly looked in to it and I will add support for % comments. It also seems
to be a good idea to add support for multi-line comments from the verbatim
package in the form:
\begin{comment}
...
my comment
...
\end{comment}
/Adam Waldenberg
Original comment by gitinspe...@ejwa.se on 29 Jun 2013 at 10:36
Done; just like all other formats, gitinspector only considers a line to be a
comment line whenever it is a *pure* comment line with no ordinary code.
Eventually; I might add some kind of percentage calculation depending on how
much of
the line is a comment.
Also; LaTex is not enabled by default; see the commit message in the revision
above
for more information.
/Adam Waldenberg
Original comment by gitinspe...@ejwa.se on 29 Jun 2013 at 11:58
Original issue reported on code.google.com by
iocheson...@gmail.com
on 29 Jun 2013 at 10:12The text was updated successfully, but these errors were encountered: