mikroC pro for arm #ifdef preprocessor

General discussion on mikroC PRO for ARM.
Post Reply
Author
Message
design4
Posts: 93
Joined: 29 Aug 2019 10:43

mikroC pro for arm #ifdef preprocessor

#1 Post by design4 » 02 Jun 2020 01:46

Hello,

I have a problem with mikroC. I have a large project using #ifdef, #if defined, #endif, #define (preprocessor). Thus, how to setup mikroC so when the preprocessor is not define, the #ifdef will be black coloured or be different than other line. U know what i mean? Because it is very hard for me to troubleshoot.

Here I attached what I am pointing about



Thanks in advanced.
Attachments
other IDE.PNG
other IDE.PNG (19.67 KiB) Viewed 844 times
mikroC.PNG
mikroC.PNG (10.14 KiB) Viewed 844 times

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: mikroC pro for arm #ifdef preprocessor

#2 Post by stefan.filipovic » 02 Jun 2020 15:04

Hi,

Unfortunately, it is not possible in mikroC PRO for ARM v6.2.0.
In mikroC, if the identifier of #ifdef directive is not defined - all the functions inside its node will be underlined as you see in the screenshot you attached.

Kind regards,
Stefan Filipović

design4
Posts: 93
Joined: 29 Aug 2019 10:43

Re: mikroC pro for arm #ifdef preprocessor

#3 Post by design4 » 03 Jun 2020 01:50

stefan.filipovic wrote:
02 Jun 2020 15:04
Hi,

Unfortunately, it is not possible in mikroC PRO for ARM v6.2.0.
In mikroC, if the identifier of #ifdef directive is not defined - all the functions inside its node will be underlined as you see in the screenshot you attached.

Kind regards,
Okay thank you. It still hard for me because sometime there is no error/undefined but my variable is underlined. Sometime I cannot "ctrl+f" the word that I want. I dont know why. Nevermind.

Regard

Post Reply

Return to “mikroC PRO for ARM General”