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 and libraries functions (VS2012 Alpha) (Read 7447 times)
Roberto Imai
Junior Member
**
Offline


Posts: 22
Joined: Sep 9th, 2012
Intellisense and libraries functions (VS2012 Alpha)
Sep 11th, 2012 at 8:47pm
Print Post  
How do I have Intellisense also complete function calls from my own libraries?
« Last Edit: Sep 13th, 2012 at 12:17pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense and libraries functions
Reply #1 - Sep 11th, 2012 at 10:52pm
Print Post  
I am trying to understand what do you mean. 

Questions

All the libraries should be included in the intellisense in the same way as normal arduino functions. Are you saying that when you start typing and press CTRL+J you can't see any intellisense for any library that you have added to your project such as EEPROM? It works in my test version of vs2012 so should work for you.

When you say "my own libraries" have you written your own? If so, have you added them to the sketch using the "Project>Add Arduino library" function or added them manually? Does the sketch compile okay?

You are using the alpha version of the 2012 plugin published 2 days ago. From your answers I hope to determine if this is a vs2012 problem or a misunderstanding about how things work.

Thanks
  
Back to top
IP Logged
 
Roberto Imai
Junior Member
**
Offline


Posts: 22
Joined: Sep 9th, 2012
Re: Intellisense and libraries functions
Reply #2 - Sep 12th, 2012 at 4:18am
Print Post  
I can see Intellisense for Arduino default functions.
I cannot see any Intellisense for Arduino libraries nor my own libraries.
When I start to type Wire, I get nothing but "rewind".
My own libraries are also not recognized.
Here is the code I was testing and I even get ReefAngel with a red line underneath. If I mouse over it, I get: "Error: identifier "ReefAngel" is undefined."
Code
Select All
#include <Salinity.h>
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <ReefAngel.h>

void setup()
{
  ReefAngel.Init(); 
}

void loop()
{
  ReefAngel.ShowInterface();
}
 

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


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense and libraries functions
Reply #3 - Sep 12th, 2012 at 6:01am
Print Post  
the addin is not installed properly. can you see libraries on the "project>add arduino library" menu?

roberto please use this thread to find a solution to all your problems. this is a free tool and i don't have time for many email messages from many different threads.

it is also difficult to keep track of what you have working or not when you post so many different questions in different places. so let's use this thread to find out what is working for you or not
« Last Edit: Sep 12th, 2012 at 6:06am by Tim@Visual Micro »  
Back to top
IP Logged
 
Roberto Imai
Junior Member
**
Offline


Posts: 22
Joined: Sep 9th, 2012
Re: Intellisense and libraries functions
Reply #4 - Sep 12th, 2012 at 4:15pm
Print Post  
Yes, I can see all my libraries for both core and user.
It would be good if I could attach screenshots.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense and libraries functions
Reply #5 - Sep 12th, 2012 at 7:37pm
Print Post  
okay thanks. It sounds like the vs 2012 system needs a bit work work. I'm short of time between now and the weekend so might pull the version from codeplex.

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


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense and libraries functions (VS2012 Alpha)
Reply #6 - Sep 15th, 2012 at 8:49pm
Print Post  
VS2012 beta is now on codeplex. It fixes all the problems and also some debugger problems in 2010. 

I hope that I have updated all file version numbers so that you do not need to uninstall the previous version prior to install of 1209.15. 

After installation you can confirm the "Visual Micro version via Tools>Options>Visual Micro>Version"

The version also fixes some re-size issues in the options windows
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint