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 Intellisense error (Read 3472 times)
DanielChai
Newbies
*
Offline


Posts: 2
Joined: Dec 23rd, 2014
Intellisense error
Dec 23rd, 2014 at 8:53pm
Print Post  
Hi All,

I installed the micro visual for vs2010 but when I open empty project, under the error list it shows several intellisense errors for stdlib.h.
But when I compile and upload the code, it works fine.

Any ideas about this?

Thank you.

-Dan
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense error
Reply #1 - Dec 23rd, 2014 at 9:00pm
Print Post  
Hi,

Visual Studio C++ intellisense fails on a few arduino commands especially the ones you can see that relate to the core used by all sketch projects. It's a 99% fit.

The intellisense error list is not so important because you should see red squiggles in the code when there is an error. The code completion and intellisense that appears when you type, for example, "Serial." should all be working okay.

The error list can be closed if it is confusing.

Visual Studio 2013 Community might be better, you can install both on the same machine. Atmel Studio (based on vs 2010) will give 100% fit

As you rightly say, the compile is correct because Visual Micro compiles the same way the Arduino Ide compiles. The intellisense that is left up to each Ide to decide how to implement.

Hope this helps, sorry it's not a perfect picture.
  
Back to top
IP Logged
 
DanielChai
Newbies
*
Offline


Posts: 2
Joined: Dec 23rd, 2014
Re: Intellisense error
Reply #2 - Dec 23rd, 2014 at 9:42pm
Print Post  
Thank you for the quick reply.

I will use Atmel Studio instead.

Thanks again.

-Dan

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense error
Reply #3 - Dec 23rd, 2014 at 10:17pm
Print Post  
A new beta was just about to be published so I looked at the errors and changed the intellisense slightly. Please try the beta from the visual micro downloads page.

Otherwise if you do install atmel then run the vm installer and click remove, then run again and click instal. that's the quickest way to setup a new ide with visual micro and you will not loose your settings.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint