Go to where jechard specified in the previous post, and create a new preprocessor definition for VOLTAGE_BOOST. Then instead of inserting a value in the text field, just check the undef check box for this definition. You will have to close/reopen any affected files in order to see this change because it will not update on the fly.
- Ryan
Thanks Ryan,
Is there any chance this can done properly in the version you are developing? For us, it is not ideal to be adding each definition for each project we do. We use a large amount if #ifdef stuff to bring in various features for customers on a project by project basis, and it would be un-realistic to do it this way as opening another customers project, would grey out the wrong code.
As I said, the standard eclipse IDE now does it perfectly just by not defining the define, or commenting it out, the code will grey out. Could you not implement it the same way they do?
EDIT: I have just closed Eclipse, and reopened which has auto reloaded all my open files ( as usual). The file which should have the sections Greyed out, now has them coloured again! If I close the document and re-open it, they are Greyed again..... So it has bugs too!
Cheers