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
What steps will reproduce the problem?
1. Select files with .C extension
2. No check is done
What is the expected output? What do you see instead?
.C files may be checked by cppcheck (at least w/ 1.38 version).
What version of the product are you using? On what operating system?
0.91, cppcheck 1.38
Please provide any additional information below.
It's not really an issue but restrict the use of cppcheck.
In Builder.java file of package com.googlecode.cppcheclipse.core, a static
attribute (VALID_EXTENSION) defines file extensions on which cppcheck is
launched. Possible ways to "correct this "problem" : simply add ".C" in
this attribute, add a preference field dedicated to file extensions, use
getContentTypeId from ITranslationUnit interface (test if file is an
instance of IAdaptable, if so try transforming it into a ICElement instance
via getAdapter method, then if it is an instance of ITranslationUnit test
if getContentTypeId is "org.eclipse.cdt.core.cxxSource" or
"org.eclipse.cdt.core.cSource")...
Original issue reported on code.google.com by mathieu....@gmail.com on 27 Oct 2009 at 1:58
The text was updated successfully, but these errors were encountered:
Okay, somehow I forgot to make the extension check case insensitive. I will
also add
".txx" to the list of accepted extensions. Then this list is identical to the
one
used in cppcheck. Thanks for your report.
Original comment by konra...@gmx.de on 27 Oct 2009 at 2:31
Original issue reported on code.google.com by
mathieu....@gmail.com
on 27 Oct 2009 at 1:58The text was updated successfully, but these errors were encountered: