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 VS2017 Intellisense and Cannot Resolve Symbol Issues (Read 3566 times)
Matt Parish
Newbies
*
Offline


Posts: 3
Joined: Feb 22nd, 2018
VS2017 Intellisense and Cannot Resolve Symbol Issues
Feb 22nd, 2018 at 1:23am
Print Post  
I am using VS2017 15.5.7 and Arduino 1.8.5 with the most recent version of Visual Micro, freshly installed today.

While the new test project builds successfully, every reference to an Arduino function or symbol results in a Cannot Resolve Symbol warning and red syntax highlighting. Also, Intellisense does not work by default (usually one can simply start typing and receive symbol recommendations), but instead I must actively press CTRL+J to see available symbols.

I have been all over the forums and have seen multiple posts about similar issues. I have tried uninstalling/reinstalling Visual Micro, and verified that I have C++ installed in VS2017, as well as ensured that the settings for syntax highlighting are set up as expected. None of these steps have corrected the issue.

Any help would be greatly appreciated.

Thanks!
« Last Edit: Feb 22nd, 2018 at 1:25am by Matt Parish »  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2017 Intellisense and Cannot Resolve Symbol Issues
Reply #1 - Mar 5th, 2018 at 2:25pm
Print Post  
Sorry I missed this post

If the correct options appear when pressing CTRL+J then the question relates to standard visual studio functionality and should be answered by Microsoft. The reason being that we just use standard VC++ projects for arduno. Visual Micro handles the build but leaves VS to do whatever it wants in the editor.

The fact that CTRL+J shows the correct options means that Visual Micro has set the includes and #defines correctly which is the only job is does for the IDE / UI
« Last Edit: Mar 5th, 2018 at 2:26pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Matt Parish
Newbies
*
Offline


Posts: 3
Joined: Feb 22nd, 2018
Re: VS2017 Intellisense and Cannot Resolve Symbol Issues
Reply #2 - Mar 7th, 2018 at 2:13pm
Print Post  
Tim,

Thanks for your response. I will look into hitting up Microsoft for this issue.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2017 Intellisense and Cannot Resolve Symbol Issues
Reply #3 - Mar 7th, 2018 at 3:03pm
Print Post  
Great. Make sure you have not changed the defaults in Tools>options. If I recall there are some settings relating to how intellisense works.
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2017 Intellisense and Cannot Resolve Symbol Issues
Reply #4 - Apr 6th, 2018 at 12:54pm
Print Post  
Off-Topic replies have been moved to this Topic.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint