Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97327

How to make Visual Studio Code to parse inactive code also?

$
0
0

I need to emphasize that I want to know how to 'parse' the inactive code, not 'undimming' it. Scenario : I am using VSCODE to create a project out of a codebase which will have platform based code and multiple such platform based folders. So each macro might be defined at multiple places. So VSCODE is not parsing the code protected by such macros. For example

if (MACRO == ENABLED)

CODE

endif

The 'MACRO' is defined at multiple places because of the platform variations. One more thing. Sometimes this MACRO might be defined during compile time using SCONS. Hence VSCODE is unable to find it's definition at all and is not parsing the code protected by it and treating it as inactive code. I am using paid IDEs like Source Insight and really want to move to Visual Studio Code at work. Please help me on this.


Viewing all articles
Browse latest Browse all 97327

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>