CCS Gray Out Inactive Section Conditional Compilation
Posted: Tue Jul 27, 2021 12:50 pm
Hello all,
Is there a way to gray out code sections that are inactive within CCS? My code has quite a few areas that are conditionally compiled, and the fact that they are the same color makes the code confusing at times.
Thank you in advance for your help!
Best,
jychua
dluu13
Joined: 28 Sep 2018 Posts: 395 Location: Toronto, ON
Posted: Tue Jul 27, 2021 1:54 pm
Do you mean inactive due to preprocessor directives?
I'm not sure about the CCS IDE but CCS compiler integrates pretty well with MPLAB X and that will grey out inactive sections by default.
jychua
Joined: 27 Jul 2021 Posts: 14
Posted: Wed Jul 28, 2021 8:51 am
Hey dluu13,
Ah okay! Thank you for your help. I will probably do that instead then.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum