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
Hot Topic (More than 8 Replies) No Intellisense on Visual Studio 2010 (Read 12488 times)
Rob Chouinard
Junior Member
**
Offline


Posts: 11
Joined: Dec 9th, 2014
No Intellisense on Visual Studio 2010
Dec 9th, 2014 at 5:03pm
Print Post  
Intellisense is not showing/working. Nothing pops up as I type. I have used this Visual Studio 2010 install for years. Intellisense shows in my other non-arduino solutions.

I have nearly 40 IntelliSense errors listed that have to do with the stdlib.h, the auto generated header file for my ino and a bunch of overload errors when the function was not overloaded at all.

I really miss using Intellisense and would like to use it with Arduino.

Thanks
« Last Edit: Dec 9th, 2014 at 5:04pm by Rob Chouinard »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No Intellisense on Visual Studio 2010
Reply #1 - Dec 9th, 2014 at 5:08pm
Print Post  
Hi Rob,

Questions

1) does build and upload work?
2) when did you install visual micro (tools>options>visual micro>version>version)
3) if you selected a different board and then re-select the correct board for your hardware, does intellisense then work?
4) does the syntax have colour coding?

Thanks
  
Back to top
IP Logged
 
Rob Chouinard
Junior Member
**
Offline


Posts: 11
Joined: Dec 9th, 2014
Re: No Intellisense on Visual Studio 2010
Reply #2 - Dec 9th, 2014 at 5:14pm
Print Post  
1) does build and upload work?
Yes build and upload work. I can also debug.


2) when did you install visual micro (tools>options>visual micro>version>version)
I installed Wednesday with a fresh download. I installed beta today to see if that helps and no. Version = 1.1412.07

3) if you selected a different board and then re-select the correct board for your hardware, does intellisense then work?
Still doesn't work.

4) does the syntax have colour coding?
Yes
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No Intellisense on Visual Studio 2010
Reply #3 - Dec 9th, 2014 at 5:16pm
Print Post  
Hi Rob,

VS 2010 has been working okay for a few years so all recent updates will be the same.

It sounds like .ino files have not registered correctly with Visual Studio during install/startup.

You can manually configure via this screen adding C++ registration for .ino files

http://www.visualmicro.com/post/2011/10/09/How-to-fix-Arduino-code-color-coding-...

  
Back to top
IP Logged
 
Rob Chouinard
Junior Member
**
Offline


Posts: 11
Joined: Dec 9th, 2014
Re: No Intellisense on Visual Studio 2010
Reply #4 - Dec 9th, 2014 at 5:22pm
Print Post  
They are already listed in there as such. I removed them, restarted the IDE and added them back in. Still no Intellisense popups as I type.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No Intellisense on Visual Studio 2010
Reply #5 - Dec 9th, 2014 at 5:24pm
Print Post  
Okay thanks, they just needed to be there.

When you say no intellisense if you type Serial. into the code do you see a list of methods for the serial object such as println()?
  
Back to top
IP Logged
 
Rob Chouinard
Junior Member
**
Offline


Posts: 11
Joined: Dec 9th, 2014
Re: No Intellisense on Visual Studio 2010
Reply #6 - Dec 9th, 2014 at 5:30pm
Print Post  
That is exactly what I mean. I see no popup list when typing anything. Some test I tried "boo" for boolean, "Str" for string and I tried "Ser" for Serial.
  
Back to top
 
IP Logged
 
Rob Chouinard
Junior Member
**
Offline


Posts: 11
Joined: Dec 9th, 2014
Re: No Intellisense on Visual Studio 2010
Reply #7 - Dec 9th, 2014 at 5:31pm
Print Post  
I take that back I didn't see your ".". Yes I see methods. but no popup for "String" "boolean" or "Serial"
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No Intellisense on Visual Studio 2010
Reply #8 - Dec 9th, 2014 at 5:32pm
Print Post  
C++ in VS2010 only shows intellisense when you press CTRL+J or type a . or -> etc.

Sorry if this is a repeated question but I need to be clear

If you type Serial. into the code do you see a list of methods for the serial object such as println()?

  
Back to top
IP Logged
 
Rob Chouinard
Junior Member
**
Offline


Posts: 11
Joined: Dec 9th, 2014
Re: No Intellisense on Visual Studio 2010
Reply #9 - Dec 9th, 2014 at 5:34pm
Print Post  
Maybe I am mistaken. I don't code in c++ much, usually c# and I tried a new C++ solution and it is doing the same thing. Usually when I start typing in c# editor I can get popups for autocomplete on tab. I guess this must not be available on c++ editor?
  
Back to top
 
IP Logged
 
Rob Chouinard
Junior Member
**
Offline


Posts: 11
Joined: Dec 9th, 2014
Re: No Intellisense on Visual Studio 2010
Reply #10 - Dec 9th, 2014 at 5:36pm
Print Post  
Tim@Visual Micro wrote on Dec 9th, 2014 at 5:32pm:
C++ in VS2010 only shows intellisense when you press CTRL+J or type a . or -> etc.

Sorry if this is a repeated question but I need to be clear

If you type Serial. into the code do you see a list of methods for the serial object such as println()?



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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No Intellisense on Visual Studio 2010
Reply #11 - Dec 9th, 2014 at 5:37pm
Print Post  
Hi Rob,

Okay I suspected that. It's true the C++ intellisense in VS2010 is not as good as C# but it is working.

I don't know if you saw the news, VS 2013 Community edition is free and recently released. The C++ intellisense is much more responsive in Vs2013

There will always be a few intellisense errors in the error report list because VS C++ does not understand 100% of Arduino syntax.

Quote:
the auto generated header file for my ino and a bunch of overload errors when the function was not overloaded at all.


can you give me an example of what you see for this in the error list and also how the function is actually defined (method signature)

Thanks
« Last Edit: Dec 9th, 2014 at 5:38pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Rob Chouinard
Junior Member
**
Offline


Posts: 11
Joined: Dec 9th, 2014
Re: No Intellisense on Visual Studio 2010
Reply #12 - Dec 9th, 2014 at 5:50pm
Print Post  
Tim@Visual Micro wrote on Dec 9th, 2014 at 5:37pm:
I don't know if you saw the news, VS 2013 Community edition is free and recently released. The C++ intellisense is much more responsive in Vs2013


Yes I have heard. I have some really large LOB on-going projects in VS 2010. I need to check if they can both be installed side-by-side without a problem.

Tim@Visual Micro wrote on Dec 9th, 2014 at 5:37pm:
Quote:
the auto generated header file for my ino and a bunch of overload errors when the function was not overloaded at all.


can you give me an example of what you see for this in the error list and also how the function is actually defined (method signature)


Error:
IntelliSense: cannot overload functions distinguished by return type alone      c:\arduino\remote_rain_esp8266\remote_rain_esp8266.ino


The function:
boolean espBegin(int mode)


I had about 20 of these and as I clicked on each one the error disappeared and cleared up. No changes to code. Weird, they are all cleaned up now just by clicking on them. I must of jumped the gun here too. Sorry.

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No Intellisense on Visual Studio 2010
Reply #13 - Dec 9th, 2014 at 6:07pm
Print Post  
Quote:
Yes I have heard. I have some really large LOB on-going projects in VS 2010. I need to check if they can both be installed side-by-side without a problem


I have all versions installed on same machine with no issues. They are independent. The only stop point was that I can not install 2013 community on a machine that already has 2013 pro/premium/ultimate installed but that isn't an issue really.

Quote:
IntelliSense: cannot overload functions distinguished by return type alone      c:\arduino\remote_rain_esp8266\remote_rain_esp8266.ino


The function:
boolean espBegin(int mode)


I have seen that behaviour in 2010 before but not in 2013 (yet)
« Last Edit: Dec 9th, 2014 at 8:16pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Rob Chouinard
Junior Member
**
Offline


Posts: 11
Joined: Dec 9th, 2014
Re: No Intellisense on Visual Studio 2010
Reply #14 - Dec 9th, 2014 at 6:29pm
Print Post  
OK Thank you for your help!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No Intellisense on Visual Studio 2010
Reply #15 - Dec 9th, 2014 at 8:15pm
Print Post  
Sorry typo in previous message, can't install 2013 community if 2013 is ultimate already installed (previously stated if 2010 is already installed)
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint