Feature like "#ifdef CLION" that just work in editor?
Answered
For example:
#ifdef CLION
printf("Editting.");
#else
printf("Running.");
#endif
Please sign in to leave a comment.
@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?
@Anna Falevskaya , Thank you, this is what I want.