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 No intellisense for core in Atmel Studio 7 (Read 2356 times)
HK22
Newbies
*
Offline


Posts: 3
Location: Germany
Joined: Nov 20th, 2018
No intellisense for core in Atmel Studio 7
Nov 20th, 2018 at 3:52pm
Print Post  
Visual Micro on Atmel Studio displays a large number of errors, but the project works and the compiler shows no errors.

Examples of such errors are:
     use of undeclared identifier 'OUTPUT'
     unknown type name 'boolean'
     ...

What could be the reason for that?
Thanks

I use: Atmel Studio 7 (7.0.1931)
         Visual Micro 1806.2.1
         Arduino IDE 1.8.7
« Last Edit: Nov 20th, 2018 at 7:06pm by Tim@Visual Micro »  

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: No intellisense for core in Atmel Studio 7
Reply #1 - Nov 20th, 2018 at 7:09pm
Print Post  
Atmel Studio seems to be ignoring include paths. It will have to be investigated however a simple workaround is to click the "vMicro->Toggle Hidden Files" menu item. That adds code shortcuts to the underlying core source code of your hardware purely for use by intellisense.


note: you can remove the branch containing the shortcuts from the project at anytime. When switching board for the same project Visual Micro should attempt to remove and re-add the different sources. If it fails just delete them click Toggle Hidden Files" again.




  
Back to top
WWW  
IP Logged
 
HK22
Newbies
*
Offline


Posts: 3
Location: Germany
Joined: Nov 20th, 2018
Re: No intellisense for core in Atmel Studio 7
Reply #2 - Nov 21st, 2018 at 8:40am
Print Post  
Hi,
Thanks, but their suggestions did not succeed.
A comparable installation on a second PC does not show this behavior.

I will now uninstall and completely reinstall Atmel Studio and Visual Studio. After that I will contact you again.

Question: Do I need to back up or release the license number of Visual Studio before uninstalling?

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No intellisense for core in Atmel Studio 7
Reply #3 - Nov 21st, 2018 at 1:15pm
Print Post  
The license is for the pc not the ide so it should be okay but you can email to request reset if needed.

I had an issue when I tested it until I toggled the hidden files so there is something going on that we need to uncover.

Atmel doesn't provide intellisense, it uses the VisualAssistX extension for intellisense. You will see the VisualAssistX menu at the top of the Ide.

Visual Micro should be populating the standard atmel project properties with all the arduino "include" paths and VisualAssistX should be using them to provide intellisense.

  
Back to top
WWW  
IP Logged
 
HK22
Newbies
*
Offline


Posts: 3
Location: Germany
Joined: Nov 20th, 2018
Re: No intellisense for core in Atmel Studio 7
Reply #4 - Nov 21st, 2018 at 5:11pm
Print Post  
Hi,
Reinstalling Atmel Studio and Visual Micro resolved the problem.

BUT:
Activation of the extension 'Naggy' (compiler diagnostics and preprocessor lowlighting ..) and the problem is back.
Disable and everything is OK.

Thanks for your support!

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No intellisense for core in Atmel Studio 7
Reply #5 - Nov 22nd, 2018 at 12:34pm
Print Post  
Hi,

Thanks for the update. It's interesting I think I tried the Naggy extension some years ago and hit issues.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint