Visual Studio Ide for Arduino
https://www.visualmicro.com/forums/YaBB.pl
Other >> Arduino for Visual Studio 2010 >> Intellisense works but then fails with ESP8266WebServer.h
https://www.visualmicro.com/forums/YaBB.pl?num=1433928229

Message started by shir on Jun 10th, 2015 at 10:23am

Title: Intellisense works but then fails with ESP8266WebServer.h
Post by shir on Jun 10th, 2015 at 10:23am
Hi,
I have installed the latest version (SP6) of visual Micro. Intellisense is working until i include <ESP8266WebServer.h>. The program is compiling with no errors but intellisense is not working if we include this headerfile. I drill down a little and found it is happening only if we #include <functional> inside ESP8266WebServer.h... is there any solution for this..
Thanks

Title: Re: Intellisense works but then fails with ESP8266WebServer.h
Post by Visual Micro on Jun 10th, 2015 at 3:45pm
Hi,

When time allows we will look at the ESP8266WebServer.h to determine what properties are failing and in which #includes they relate to. Then we will know what additional path is required for this area of the esp8266.

Thanks for the report.

Title: Re: Intellisense works but then fails with ESP8266WebServer.h
Post by Visual Micro on Jul 3rd, 2015 at 10:41pm
@shir

I see the 1st level intellisense fails but after pressing "." the intellisense appears.

For example, below I see all the web server member after typing "wifis."

I have the same #includes (except for the Arduino.h) in my sketchname.ino

[code]
#include <Arduino.h>
#include "MyWebClass.h"
#include <WiFiUdp.h>
#include <WiFiServer.h>
#include <WiFiClient.h>
#include <ESP8266WiFiMulti.h>
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>



void MyWebClass::init()
{

     WiFiServer wifis = WiFiServer(80);      
     wifis.
}
[/code]


If you have this combination and it still fails then please email your code to info [at] visualmicro.com or post a small example confirming the #includes?

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