Removing question mark
My team is using Eclipse for developing some C programs, on a compiler which has some specific keywords. Therefore, Eclipse doesn't recognizes these words and reports them as a syntax error (question mark in yellow box, look at the picture.). I couldn't find any option/setting to turn this thing off, so I would like to add those couple of new words to Eclipse indexer/parser. Do you have any idea how could I do this? In which package are those things supported? Where do you think I need to look for? Any help would be much appreciated.
Thank you in advance.
P.S. This is what it looks like: http://img205.imageshack.us/img205/2...tionmarknj.jpg
I'm not an Eclipse use. So I just wonder that there is a version that compatible with C/C++ syntaxes, basically intellicense. In NetBeans you have to choose the correct version according to the development stream. So are you sure that you're using the suitable version?
Thank you for your reply. Maybe I haven't explained well enough. The thing is that this is some specific C compiler which has some unique keywords (built in types). Eclipse can't parse this well and complains about that. Basically, I was asking this: in which package of eclipse are basic C keywords are defined? Because, Eclipse's parser (or Indexer, I don't know), looks for definitions of keyword in the code of project and it's own "database". Since built in types are not defined in project code, it needs to be defined in eclipse's "database". I hope I was more accurate now. Regards :)
Of course, now it's much clear. Actually I don't know much about to comment on that Optimus, I'm not using eclipse a lot. But seems to me, still it's related with intellicens. Any compiler parser the keywords based in the parser dictionary as intellicens. Anyway we'll see other eclipse users' comments here in our forum.
OK, I finally solved this thing, and I would like to post how I did it. The Eclipse package that parses C code is CDT, to be more accurate. org.eclipse.cdt.core. I've downloaded this code from CVS, and added couple more keyword in GCCKeywords.java file and GNUScannerExtensionConfiguration.java. Then you have to build project and then export to .jar and after that add to your_eclipse_installaton\plugins folder. Now, the yellow question marks are gone. Hope this helps someone.