Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Code color (Read 3538 times)
Hawk_08
Newbies
*
Offline


Posts: 8
Location: Qu�bec, Canada
Joined: Aug 25th, 2013
Code color
Sep 20th, 2013 at 10:30pm
Print Post  
Hello everyone,

It maybe a problem with me and Visual Studio, but when I write a library my code does not color properly. In my .h everything is perfectly fine. When I write something in my .cpp particularly code coming from include define in my .h file everything is white. Is it a problem related to visual micro?

Thanks all for your answer!
M.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Code color
Reply #1 - Sep 20th, 2013 at 10:31pm
Print Post  
Hi,

Did you follow this guide to setting up color code for ino/pde files in Visual Studio?

Thanks
  
Back to top
IP Logged
 
Hawk_08
Newbies
*
Offline


Posts: 8
Location: Qu�bec, Canada
Joined: Aug 25th, 2013
Re: Code color
Reply #2 - Sep 20th, 2013 at 11:16pm
Print Post  
Yes, my .ino and .h are ok, but the .cpp of my library is not.
Only word like void, unsigned, char are colored correctly...
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Code color
Reply #3 - Sep 20th, 2013 at 11:45pm
Print Post  
This is a problem with the standard visual studio c++ install. Maybe try running a repair on vs
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint