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 doesn't work (Read 5693 times)
Sigma
Newbies
*
Offline


Posts: 4
Joined: Feb 28th, 2016
Intellisense doesn't work
Feb 28th, 2016 at 6:18pm
Print Post  
I have installed visual micro plugin (ver 1602.20.0) for Visual Studio 2015. And I have found that Intellisense doesn't recognize an "Arduino-specific" keywords. I have created a new blank Arduino project and tried to type Serial.begin, but word "Serial" is undefined for Intellisense (see picture)


I tried to close/open VS, switch Debug/Release, open "Blink" project - the same result. 
Could you please, advice me, how can I use Intellisense for arduino project?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense doesn't work
Reply #1 - Mar 1st, 2016 at 11:48am
Print Post  
Hi,

I suspect that you simply have an .ino file open and not a project. Please show the "Solution Explorer" in your screen shot so this is clearer.

To test a new project simply click "File>New>Arduino Project" or "File>New>Project>C++>Arduino Project". This will create a valid project for you. 

Alternatively you can open an existing .ino with "File>Open>Arduino Project"

  
Back to top
WWW  
IP Logged
 
Sigma
Newbies
*
Offline


Posts: 4
Joined: Feb 28th, 2016
Re: Intellisense doesn't work
Reply #2 - Mar 1st, 2016 at 1:00pm
Print Post  
I have create a new Arduino Project: File -> New -> Project -> Templates -> Visual Micro -> Blank Project
And intellisense still doesn't work:
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense doesn't work
Reply #3 - Mar 1st, 2016 at 1:03pm
Print Post  
Thanks.

Which arduino ide version are you using?
What happens if you switch to a different board in the list then back to the 2560 (intellisense refreshes?)
  
Back to top
WWW  
IP Logged
 
Sigma
Newbies
*
Offline


Posts: 4
Joined: Feb 28th, 2016
Re: Intellisense doesn't work
Reply #4 - Mar 1st, 2016 at 2:38pm
Print Post  
I have used Arduino IDE 1.6.7. And nothing to changed in intellisense, when I change a board type or target type. It displays just a keywords listed in .Sketch3.vsarduino.h . And this file doesn't contains any mention about Serial object.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense doesn't work
Reply #5 - Mar 1st, 2016 at 4:17pm
Print Post  
Okay thanks. 

Can you please try to create a new empty win32 C++ project using "File>New>Project>C++>Empty/Win32"

That will test that C++ is installed.
  
Back to top
WWW  
IP Logged
 
Sigma
Newbies
*
Offline


Posts: 4
Joined: Feb 28th, 2016
Re: Intellisense doesn't work
Reply #6 - Mar 3rd, 2016 at 11:46am
Print Post  
Problem is resolved - I have re-install Visual Studio from scratch and plugin is working well. Sorry for disturbance
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint