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 / autocomplete and VS2012 (Read 5833 times)
Bernd Plagens
Junior Member
**
Offline


Posts: 14
Location: Germany
Joined: Apr 22nd, 2013
Intellisense / autocomplete and VS2012
Apr 25th, 2013 at 7:06am
Print Post  
Hello!
Thank you for your great Software.

Maybee you can help me with this Problem:

I splitt my Project into multiple INO-Files. Compiling and Upload is ok!  Smiley

But the intellisens did not work. When i change the Board to another one and back again some things are ok but not all.

I have a 002_pins.ino file which includes "int DACClock = A7;".
In another file 999_loog.ino is the line "digitalWrite(DACClock, HIGH);".
VS shows me "Error: identifier ... is undefined".

The strange thing - compiling is ok.
The same Problem exist with some functions - here is the autocomplete function not working.

The screenshot is a little bit big - but i hope it is ok.

http://imageshack.us/photo/my-images/716/vs2012vm1121230.jpg/

Is this a Problem of VS or VM? How can i fix it?

In the Wiki i found that i have to delete the ".ncb" files inside the project folder - i do not have any file like this.

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense / autocomplete and VS2012
Reply #1 - Apr 25th, 2013 at 12:00pm
Print Post  
Hi,

Intellisense only requires you to switch board if you are not getting the normal core intellisense for an arduino board such as serial1,serial2 on a mega chip.

We don't get 100% perfect intellisense because we use/modify the std. VS C++ system which doesn't know about assembler and some other avr/gcc syntax. 

However, in the main, intellisense covers everything that most users expect.

In your example I would expect that to work so I would ask that you zip and email our sketch to info [at] visualmicro.com. I'm keen to try it out in Vs2012 and Vs2010

Thanks

ps: ncb files were used by earlier versions of VS and don't apply to your install
« Last Edit: Apr 25th, 2013 at 12:01pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Bernd Plagens
Junior Member
**
Offline


Posts: 14
Location: Germany
Joined: Apr 22nd, 2013
Re: Intellisense / autocomplete and VS2012
Reply #2 - Apr 25th, 2013 at 6:31pm
Print Post  
Thank you for this quick response.

I`m out of the office right now - but will send you the project this weekend.

Greetings from Germany
  
Back to top
 
IP Logged
 
Bernd Plagens
Junior Member
**
Offline


Posts: 14
Location: Germany
Joined: Apr 22nd, 2013
Re: Intellisense / autocomplete and VS2012
Reply #3 - Apr 28th, 2013 at 5:45pm
Print Post  
Dear Visul Micro Team,

While i am preparing the Zip-File of my Project i have seen, that the project was not abel to compile anymore.

Then i tried to undo my last changed - without luck - still not possible to compile.

Then i switched back to Arduino-IDE with the same result.

To make a long story short: I take a working backup and splitt it again in multiple files. When it was running on Arduino-IDE i switch to VS+VM.

I do not know why - now Intellisense and Autocomplete is working! Smiley

When i have time - i will investigate this issue again.

Thank you very much!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense / autocomplete and VS2012
Reply #4 - Apr 28th, 2013 at 6:54pm
Print Post  
Ok, thanks for the update
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint