I think that many users would use generic error parser and not only for C/C++ but for other languages and other contexts as well. We would definitely do as we use a number of tools for static analysis, compilation, unit testing, preprocessing, building etc. Most of these tools unaware of CDT GNU C/C++ Error Parser or other parsers provided by CDT. Still it is very desirable to get error markers in the editor and people are writing shell scripts to reformat the messages.
On the other hand, there are tons of bugs in bugzilla with complains that error parsers do not perfectly handle some particular error messages. Hey, just give people a way to tweak error parser to their special tool.
On Fri, Nov 28, 2008 at 5:27 AM, Marko Klopcic
<markok@xxxxxxxxxx> wrote:
Hi,
I've implemented a regular expressions parser plug-in and posted it to
eclipse.tools.cdt newsgroop. (http://www.isystem.com/content/5653/288/)
It was suggested to contribute it to CDT. It is not a problem (it is
licensed under EPL anyway), but I'd like to solve one technical issue
first.
Currently the name of the file containing regular expressions is
hardcoded, which means that only one such parser may exist in the
system. I think it would be better to have a parameter in the
extension point, for example 'config':
<extension id=...
name="RegEx Error Parser - GCC ARM"
point="org.eclipse.cdt.core.ErrorParser">
<errorparser class="si.isystem.regexerrparser.RegExErrorParser"
config="regEx/gccArmExpresions.properties"/> <-- NEW
</extension>
Value of the 'config' attribute specifies config file in this example.
Parameter may also be useful for other error parsers.
GUI to edit the settings would be good. What about adding in Error Parsers tab in properties a button Edit where you could set it up?
Should I fill in an enhancement request for this attribute?
Are there any other suggestions?
Thanks,
Andrew
Regards,
Marko
--
Marko Klopcic, +386 1 5680695, www.asystelectronic.si
Asyst electronic d.o.o. / iSYSTEM AG
Brodisce 18, SI-1236 Trzin, SLOVENIA
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev