-
Is there a command that allows me to see all current preprocessor defines that CPPTools is aware of? CPPTools must know this somehow, judging by reading through #510 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@tim-hilt are you looking for the default preprocessor defines coming from the command line and compiler, the ones defined by the source file and its included headers, or both? The first is possible by running the |
Beta Was this translation helpful? Give feedback.
@tim-hilt are you looking for the default preprocessor defines coming from the command line and compiler, the ones defined by the source file and its included headers, or both?
The first is possible by running the
C/C++: Log Diagnostics
command. The second isn't currently possible in the way you'd probably like to consume it - they all show up in the code completion suggestion list, but there's currently no way to filter that to just preprocessor defines. The third is limited by the answer to the second option.