Jump to content
  • Advertisement

Environments Visual studio code - precompiled headers & predefined macros highlighting

Recommended Posts


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?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!