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 not working on arduino projects (Read 10573 times)
v8surf
Newbies
*
Offline


Posts: 7
Location: New Zealand
Joined: Oct 6th, 2013
Intellisense not working on arduino projects
Oct 8th, 2013 at 4:41am
Print Post  
Hi,

I have just installed AtmelStudio and Visual Micro on a new (old) laptop for some portability away from desktop, but I cant seem to get Intellisense to work for some reason?

.h files are ok, but somewhere allong the line my .ino files get left out.

I have tried a fresh install and clicked the associate file types.
BUT... I have noticed the *.vsarduino.h icon is the same as a .txt file even after I try to associate .h files to Atmel studio.

Any help appreciated.

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense not working on arduino projects
Reply #1 - Oct 8th, 2013 at 1:23pm
Print Post  
Hi,

You do not need to associate any files to make this work.

The intellisense user interface in Atmel Studio is handled by the VisualAssistX (vax) plugin. The Visual Micro installer is supposed to add a registry setting to let vax know we want intellisense for .ino files.

You could try uninstalling visual micro and running the install again if that does work we will tell you how to manually add the .ino files to the vax intellisense list

Thanks
  
Back to top
IP Logged
 
v8surf
Newbies
*
Offline


Posts: 7
Location: New Zealand
Joined: Oct 6th, 2013
Re: Intellisense not working on arduino projects
Reply #2 - Oct 8th, 2013 at 5:55pm
Print Post  
Thanks for the reply again. 

I have tried three times now to uninstall and reinstall, so the registry entry looks like it is for me. 

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense not working on arduino projects
Reply #3 - Oct 8th, 2013 at 6:46pm
Print Post  
Okay we need to try two things. Hopefully the first is good enough otherwise I will email you a reg file.

Run RegEdit and find this key

[HKEY_CURRENT_USER\Software\Atmel\Whole Tomato\Visual Assist X\AtmelStudio61]

Look for the property called ExtSourceAvr

Add ;.ino to the end of the list of extensions against this property. You can also add ;.pde if you work with older arduino sketches

To be clear, after installing vm on my machine my ExtSourceAvr property contains a value of:-

Code
Select All
.c;.cpp;.cc;.cxx;.tli;.pde;.ino; 



All the usual warnings about being careful when editing the registry apply along with its' your responsibility  Smiley
  
Back to top
IP Logged
 
v8surf
Newbies
*
Offline


Posts: 7
Location: New Zealand
Joined: Oct 6th, 2013
Re: Intellisense not working on arduino projects
Reply #4 - Oct 8th, 2013 at 11:03pm
Print Post  
Hi Tim,

Thanks for the help again.  This reg edit has sorted the problem thanks.   
Strange that it didn't load that value the multiple times I tried to reinstall the product.  Very easy fix though
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense not working on arduino projects
Reply #5 - Oct 9th, 2013 at 12:11am
Print Post  
Great, thanks for the feedback. 

I agree, the installer needs looking at. Why it works for so many and fails for a few is a huge mystery that will probably have a really obvious answer once found  Smiley
  
Back to top
IP Logged
 
v8surf
Newbies
*
Offline


Posts: 7
Location: New Zealand
Joined: Oct 6th, 2013
Re: Intellisense not working on arduino projects
Reply #6 - Oct 9th, 2013 at 1:54am
Print Post  
OK....

Another laptop has just been updated to run with Visual Micro, and is getting a similar non-intellisense issue.

To start with intellisense was fine.  Then it broke?
I checked the registry as per above, and .ino wasn't in ther, so I added it and still it doesn't work for some reason??

Again any help much appreciated

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense not working on arduino projects
Reply #7 - Oct 9th, 2013 at 1:58pm
Print Post  
please try downloading the install and then try to "run it as administrator" thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint