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 Intellissense issue - variables declaration not recognized (Read 1042 times)
Kraken
Newbies
*
Offline


Posts: 3
Joined: Nov 21st, 2022
Intellissense issue - variables declaration not recognized
Nov 23rd, 2022 at 2:08pm
Print Post  
Hi,
from some time on, when declaring uint8_t and other numeric var types,  Intellisense informs "identifier is undefined". 
The code is compiled and runs well.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2142
Joined: Feb 13th, 2019
Re: Intellissense issue - variables declaration not recognized
Reply #1 - Nov 23rd, 2022 at 2:15pm
Print Post  
Thanks for the report.

Can you attach the full build log from your program with the settings enabled as shown at the top of the page?

Can you also confirm if you are using VS2017/VS2019 or VS2022?
  
Back to top
 
IP Logged
 
Kraken
Newbies
*
Offline


Posts: 3
Joined: Nov 21st, 2022
Re: Intellissense issue - variables declaration not recognized
Reply #2 - Nov 23rd, 2022 at 2:35pm
Print Post  
I am using VS 2019, although have installed VM trial on VS 2022 and got same result.
Please find attached a buid log as requested.
  

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


Posts: 2142
Joined: Feb 13th, 2019
Re: Intellissense issue - variables declaration not recognized
Reply #3 - Nov 23rd, 2022 at 2:41pm
Print Post  
Thanks for the logs, if you update Visual Micro from the Downloads page this should resolve the issue in VS2019 and VS2022:
https://www.visualmicro.com/page/Arduino-Visual-Studio-Downloads.aspx

There is also an RC3 Release of the new Visual Micro 2.0 for VS2022, which improves intellisense using a different system, and we will be releasing this for both VS versions in the coming days:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
 
IP Logged
 
Kraken
Newbies
*
Offline


Posts: 3
Joined: Nov 21st, 2022
Re: Intellissense issue - variables declaration not recognized
Reply #4 - Nov 29th, 2022 at 2:58pm
Print Post  
Hi,

I installed the suggested updates for VS 2019 and VS 2022 and both versions are working fine now.
Thanks!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint