Visual Studio Ide for Arduino
https://www.visualmicro.com/forums/YaBB.pl
>> >> intellisense broken with latest 1.64 with visual micro esp8266
https://www.visualmicro.com/forums/YaBB.pl?num=1432200348

Message started by Che Rowley on May 21st, 2015 at 10:25am

Title: intellisense broken with latest 1.64 with visual micro esp8266
Post by Che Rowley on May 21st, 2015 at 10:25am
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) ? :)

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”

Title: Re: intellisense broken with latest 1.64 with visual micro esp8266
Post by Visual Micro on May 21st, 2015 at 12:04pm
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

Title: Re: intellisense broken with latest 1.64 with visual micro esp8266
Post by Che Rowley on May 21st, 2015 at 12:37pm
Hi,

Thanks for the response :)

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 :)



Cheers!

Title: Re: intellisense broken with latest 1.64 with visual micro esp8266
Post by Visual Micro on May 21st, 2015 at 12:46pm
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

Title: Re: intellisense broken with latest 1.64 with visual micro esp8266
Post by Che Rowley on May 21st, 2015 at 1:08pm
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!)



Title: Re: intellisense broken with latest 1.64 with visual micro esp8266
Post by Visual Micro on May 21st, 2015 at 1:20pm
Hi,

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

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

Title: Re: intellisense broken with latest 1.64 with visual micro esp8266
Post by Visual Micro on May 21st, 2015 at 7:07pm
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

Title: Re: intellisense broken with latest 1.64 with visual micro esp8266
Post by Che Rowley on May 22nd, 2015 at 8:32am
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)..


Title: Re: intellisense broken with latest 1.64 with visual micro esp8266
Post by Visual Micro on May 22nd, 2015 at 11:52am
Hi,

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

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

Title: Re: intellisense broken with latest 1.64 with visual micro esp8266
Post by Visual Micro on May 25th, 2015 at 2:02am
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

Title: Re: intellisense broken with latest 1.64 with visual micro esp8266
Post by Visual Micro on May 27th, 2015 at 12:38pm
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

Title: Re: intellisense broken with latest 1.64 with visual micro esp8266
Post by Che Rowley on May 27th, 2015 at 12:57pm
I tried starting from clicking a ino file and creating a project from it.

Title: Re: intellisense broken with latest 1.64 with visual micro esp8266
Post by Visual Micro on May 27th, 2015 at 12:58pm
Thanks

Title: Re: intellisense broken with latest 1.64 with visual micro esp8266
Post by Tyler Durden on May 29th, 2015 at 5:06pm
I've got the same problem. Intellisense is no longer working for ESP8266 projects.

Title: Re: intellisense broken with latest 1.64 with visual micro esp8266
Post by Visual Micro on May 30th, 2015 at 12:48am
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-Additions.aspx

Please test with new and existing projects.

Thanks

Title: Re: intellisense broken with latest 1.64 with visual micro esp8266
Post by Visual Micro on Jun 10th, 2015 at 3:42pm
Off-Topic replies have been moved to this Topic.

Visual Studio Ide for Arduino » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2019. All Rights Reserved.