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 on new update (vsarduino.h wrong include) (Read 1305 times)
Erin
Newbies
*
Offline


Posts: 5
Joined: May 16th, 2020
Intellisense Error on new update (vsarduino.h wrong include)
Jun 11th, 2021 at 1:54pm
Print Post  
Intellisense error with a lot of red unidentified identifier. Able to compile tho. The problem is with the generated .vsarduino.h file. The *.ino file included doesn't have new line so the intellisense show an error "'#' not expected here". Manually add new line fixes the problem. But it's a generated file, so...

Here is the example of generated .vsarduino.h file:
Code (C++)
Select All
...
int toupper (int __c);
int isblank (int __c);
int isascii (int __c);
int toascii (int __c);#include "ScoreboardDisplay.ino" //<- here is the problem
#include "CommandHandler.ino"
#include "Display3_1.ino"
#endif
#endif
 



It should be like this:
Code (C++)
Select All
...
int toupper (int __c);
int isblank (int __c);
int isascii (int __c);
int toascii (int __c);
#include "ScoreboardDisplay.ino" //<- intellisense problem fixed
#include "CommandHandler.ino"
#include "Display3_1.ino"
#endif
#endif
 



This should be an easy fix, I presume. Could you please fix this. Thank you.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2143
Joined: Feb 13th, 2019
Re: Intellisense Error on new update (vsarduino.h wrong include)
Reply #1 - Jun 11th, 2021 at 2:19pm
Print Post  
Thanks for the report.

Would it be possible to attach the VSArduino.h file from your project so we can ensure we fix the correct platform?
  
Back to top
 
IP Logged
 
Erin
Newbies
*
Offline


Posts: 5
Joined: May 16th, 2020
Re: Intellisense Error on new update (vsarduino.h wrong include)
Reply #2 - Jun 11th, 2021 at 2:29pm
Print Post  
Ofc. The platform i'm using is STM32F103. Core library is from rogerclarkmelbourne https://github.com/rogerclarkmelbourne/Arduino_STM32.
  

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


Posts: 2143
Joined: Feb 13th, 2019
Re: Intellisense Error on new update (vsarduino.h wrong include)
Reply #3 - Jun 11th, 2021 at 2:47pm
Print Post  
Perfect, thanks! 

We will update when the fixed version is available, and thankyou for bringing this to our attention.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2143
Joined: Feb 13th, 2019
Re: Intellisense Error on new update (vsarduino.h wrong include)
Reply #4 - Jun 14th, 2021 at 1:55pm
Print Post  
Thanks for the detail, this should be resolved in the latest release (21.06.06.3) available from the top of the below board:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
 
IP Logged
 
Erin
Newbies
*
Offline


Posts: 5
Joined: May 16th, 2020
Re: Intellisense Error on new update (vsarduino.h wrong include)
Reply #5 - Jun 16th, 2021 at 8:33am
Print Post  
Thank you, intellisense is now working correctly.  Cheesy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint