At the moment I'm evaluating the Keil5 ide. In Coocox the compiler will gray out the unused preprocessor code, is very handy. Can't find this option in Keil uvision 5, how do you guys do that? How can you read (and understand) the code if you don't know what's used or not.
Example: my.st.com/.../gray.PNG
Yes, very handy - when it works !
However, Eclipse in general (which, presumably, includes CooCox) does seem to have a way to get confused about it and mess it all up - and that, then, becomes a big pain!