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) intellisense broken with latest 1.64 with visual micro esp8266 (Read 12798 times)
Che Rowley
Newbies
*
Offline


Posts: 5
Joined: May 21st, 2015
intellisense broken with latest 1.64 with visual micro esp8266
May 21st, 2015 at 9:25am
Print Post  
Hi all!

Is there a fix for this as I can't get intellisense to work (fresh install of all the latest bits - vis studio community ed, arduino ide 1.64 and visual micro) ? Smiley

Cheers!



Visual Micro wrote:
Hi,

The latest release of Visual Micro supports the Arduino board options so you will now see menus and tool bar controls for the esp upload and cpu speed.

For the 1.6.x version the is a bug fix that caused intellisense to fail. This was because the esp core contains files that start with a full stop. Visual Micro ignores these files but didn't do so for the variants folder. Visual Studio intellisense failed because of .pins_arduino.h, not sure about Atmel Studio.

The usb debugger is also now working for esp8266 and will test more during the coming weeks.

The update means that you do not need to make any special considerations to use esp8266 in Atmel Studio or Visual Studio. So the other posts in this thread can now be ignored. (thanks to the posters)

Regards,

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: intellisense broken with latest 1.64 with visual micro esp8266
Reply #1 - May 21st, 2015 at 11:04am
Print Post  
Hi,

The esp8266 is working but there has been a lot of changes between esp and arduino recently and there is more than one way you can configure the ide. Esp8266 have both a downloable core for arduino 1.6.4 and their own ide.

Therefore you need to explain which you are using and which ide name/option you have configured in visual micro? 

http://www.visualmicro.com/page/esp8266.aspx

Thanks
  
Back to top
WWW  
IP Logged
 
Che Rowley
Newbies
*
Offline


Posts: 5
Joined: May 21st, 2015
Re: intellisense broken with latest 1.64 with visual micro esp8266
Reply #2 - May 21st, 2015 at 11:37am
Print Post  
Hi,

Thanks for the response Smiley

This is how I installed it (from blank virtual):

1) Installed visual studio 2013 community edition.
2) Installed arduino ide 1.64 from their website.
Configured in the ardunio ide to use the board manager and added a url : http://arduino.esp8266.com/package_esp8266com_index.json  into Additional Board Manager
3) Installed visual micro.

Selecting arduino board instead of esp board and intellisense works...

Maybe something to do with the a esp core file starting with a dot? I read that somewhere but not sure what to do with that info Smiley



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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: intellisense broken with latest 1.64 with visual micro esp8266
Reply #3 - May 21st, 2015 at 11:46am
Print Post  
Thanks for the info. We tested with the adafruit esp8266 which you can see in our release notes



We will test with the esp download from esp8266.com

Can you first confirm that when you configured visual micro you used the Arduino 1.6 application option and that you can see the Boards Manager in the Visual Micro Explorer?

Thanks
  
Back to top
WWW  
IP Logged
 
Che Rowley
Newbies
*
Offline


Posts: 5
Joined: May 21st, 2015
Re: intellisense broken with latest 1.64 with visual micro esp8266
Reply #4 - May 21st, 2015 at 12:08pm
Print Post  
Ah, I didn't put the board url in that bit..

I've just added it and done a rescan (on the menu at the top) and reloaded vs but still the same I'm afraid:

Is http://arduino.esp8266.com/package_esp8266com_index.json not supported then..

If I switch to the adafruit one will my programs still work? Will the commands for the wifi, ticker, pwm etc change?

(Sorry, this is all new to me in addition to not being familiar with C stuff!)


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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: intellisense broken with latest 1.64 with visual micro esp8266
Reply #5 - May 21st, 2015 at 12:20pm
Print Post  
Hi,

You didn't need to use the boards urls in Visual Micro but it saves us talking about the Arduino ide Smiley

The esp8266 is a new fast moving system right now. It will mature over the next few months. 

I can't answer all the questions because Visual micro has no control over the cores. 

I thought adafruit took the build from esp8266.com so in theory it is the same.

+ for the arduino.esp8266.com json, please email the vsarduino.h from the \visual micro folder below your sketch this will probably show why intellisense is failing. info [at] visualmicro.com

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: intellisense broken with latest 1.64 with visual micro esp8266
Reply #6 - May 21st, 2015 at 6:07pm
Print Post  
Hi,

I tried your json suggestion and it works okay for me. I used the Arduino 1.6 app option in Visual Micro

I suggest switching to a different board such as Uno then back to esp8266. If you are using the correct version of Visual Micro you should see a new board options menu with upload speed and cpu speed?

Thanks
  
Back to top
WWW  
IP Logged
 
Che Rowley
Newbies
*
Offline


Posts: 5
Joined: May 21st, 2015
Re: intellisense broken with latest 1.64 with visual micro esp8266
Reply #7 - May 22nd, 2015 at 7:32am
Print Post  
Hi Tim,

All very strange then if it's working for you!

Ok, intellisense works when I select the arduino uno but soon as I reselect the "Generic ESP8266 Module" it stops working again lol.

I have "Arduino 1.6" selected in the drop down next to it, not "Esp8266"..

I know that another person is having the same problem (mentioned on the esp8266 site forum)..

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: intellisense broken with latest 1.64 with visual micro esp8266
Reply #8 - May 22nd, 2015 at 10:52am
Print Post  
Hi,

Thanks for the info. As for the other person if they don't use this forum I can't help Smiley

It must be to do with a library or something like that. Please zip your sketch folder inc its sub dirs and email to me

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: intellisense broken with latest 1.64 with visual micro esp8266
Reply #9 - May 25th, 2015 at 1:02am
Print Post  
There is an Sp2 release that might help. Interested to see an image of your ide with a sketch open in the editor if intellisense fails

Forgot to add email address is: info [at] visualmicro.com

Thanks
« Last Edit: May 25th, 2015 at 1:02am by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: intellisense broken with latest 1.64 with visual micro esp8266
Reply #10 - May 27th, 2015 at 11:38am
Print Post  
I think it's ok. I will grab the 1.6.4 and see if I can reproduce.

Out of interest did you create a new empty sketch or open an existing sketch when you first opened/created the project?

Thanks
  
Back to top
WWW  
IP Logged
 
Che Rowley
Newbies
*
Offline


Posts: 5
Joined: May 21st, 2015
Re: intellisense broken with latest 1.64 with visual micro esp8266
Reply #11 - May 27th, 2015 at 11:57am
Print Post  
I tried starting from clicking a ino file and creating a project from it.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: intellisense broken with latest 1.64 with visual micro esp8266
Reply #12 - May 27th, 2015 at 11:58am
Print Post  
Thanks
  
Back to top
WWW  
IP Logged
 
Tyler Durden
Newbies
*
Offline


Posts: 2
Joined: May 29th, 2015
Re: intellisense broken with latest 1.64 with visual micro esp8266
Reply #13 - May 29th, 2015 at 4:06pm
Print Post  
I've got the same problem. Intellisense is no longer working for ESP8266 projects.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: intellisense broken with latest 1.64 with visual micro esp8266
Reply #14 - May 29th, 2015 at 11:48pm
Print Post  
Please try the latest release but also please read the release notes because there is a lot that concerns the latest release of the 8266 

http://www.visualmicro.com/page/Visual-Micro-Product-Version-History-Fixes-and-A...

Please test with new and existing projects.

Thanks
« Last Edit: May 29th, 2015 at 11:49pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: intellisense broken with latest 1.64 with visual micro esp8266
Reply #15 - Jun 10th, 2015 at 2:42pm
Print Post  
Off-Topic replies have been moved to this Topic.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint