CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

CCS Gray Out Inactive Section Conditional Compilation

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
jychua



Joined: 27 Jul 2021
Posts: 14

View user's profile Send private message

CCS Gray Out Inactive Section Conditional Compilation
PostPosted: Tue Jul 27, 2021 12:50 pm     Reply with quote

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

View user's profile Send private message Visit poster's website

PostPosted: Tue Jul 27, 2021 1:54 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Jul 28, 2021 8:51 am     Reply with quote

Hey dluu13,

Ah okay! Thank you for your help. I will probably do that instead then.

Best,
Jui Yen
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group