Advertisement

Visual studio code - precompiled headers & predefined macros highlighting

Started by March 03, 2019 02:23 PM
0 comments, last by assboot 5 years, 8 months ago

Hi,

I'm trying to set up my visual studio code environment for my c++ project that I compile with gcc. The makefiles are made with premake. A problem I have is that predefined macros and things from the precompiled header are not detected by vs code which means I get incorrect highlighting and intellisense errors. How do I let vs code know about these things so it can get properly highlighted?

This topic is closed to new replies.

Advertisement