Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Intellisense works but then fails with ESP8266WebServer.h (Read 3175 times)
shir
Newbies
*
Offline



Posts: 1
Intellisense works but then fails with ESP8266WebServer.h
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
Back to top
« Last Edit: Jun 10th, 2015 at 3:43pm by Visual Micro »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10631
United Kingdom
Re: Intellisense works but then fails with ESP8266WebServer.h
Reply #1 - 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.
Back to top
 
WWW  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10631
United Kingdom
Re: Intellisense works but then fails with ESP8266WebServer.h
Reply #2 - 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.
}
 




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?
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print