Feature like "#ifdef CLION" that just work in editor?

Answered

For example:

 

#ifdef CLION

printf("Editting.");

#else

printf("Running.");

#endif

 

0
2 comments

@C Zijie could you please describe the issue in detail? We have a predefined macro intended for checking if parsing is done in the IDE: https://youtrack.jetbrains.com/issue/CPP-1296#comment=27-1846360. Is that what you're looking for?

0

@Anna Falevskaya , Thank you, this is what I want.

0

Please sign in to leave a comment.