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) ESP32 Intellisense (Read 4335 times)
Leonos
Junior Member
**
Offline


Posts: 17
Joined: Apr 20th, 2016
ESP32 Intellisense
Nov 27th, 2018 at 9:14pm
Print Post  
Today I received notification that both Visual Studio as well as Visual Micro had an update ready and I updated both. Since then, I get 'red error dots' in the scroll bar on the right, as well as red lines in the code itself.
  ArduinoOTA.onStart([]() {
  ArduinoOTA.onEnd([]() {
  ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) {
  ArduinoOTA.onError([](ota_error_t error) {


The error rests on the first [ bracket in each of the above functions. The code still compiles though.The error says: More than one conversion function lambda []void...

Since I updated both I am not sure which update introduced this, but since you mentioned ESP32 intellisense I thought I'd try here first.
  Smiley
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP32 Intellisense
Reply #1 - Nov 27th, 2018 at 9:20pm
Print Post  
if you switch on vmicro>compiler verbose and also "show build properties" then post the build output as a .txt we can see which esp32 toolchain you have installed.
  
Back to top
WWW  
IP Logged
 
Leonos
Junior Member
**
Offline


Posts: 17
Joined: Apr 20th, 2016
Re: ESP32 Intellisense
Reply #2 - Nov 28th, 2018 at 8:03am
Print Post  
Thanks, Tim. Fyi, on my laptop I haven't yet upgraded to 1811.24.0 (I'm on 1810.4.0) and there the red marks do not appear. VS version is 15.9.2.

Please find enclosed the .txt file.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP32 Intellisense
Reply #3 - Nov 28th, 2018 at 8:48pm
Print Post  
Thanks, which .json url or board support package have you installed for your esp32 hardware?
  
Back to top
WWW  
IP Logged
 
Leonos
Junior Member
**
Offline


Posts: 17
Joined: Apr 20th, 2016
Re: ESP32 Intellisense
Reply #4 - Nov 29th, 2018 at 7:43am
Print Post  
Tim@Visual Micro wrote on Nov 28th, 2018 at 8:48pm:
Thanks, which .json url or board support package have you installed for your esp32 hardware?

That's https://dl.espressif.com/dl/package_esp32_index.json
  
Back to top
 
IP Logged
 
Leonos
Junior Member
**
Offline


Posts: 17
Joined: Apr 20th, 2016
Re: ESP32 Intellisense
Reply #5 - Dec 5th, 2018 at 1:11pm
Print Post  
Leonos wrote on Nov 27th, 2018 at 9:14pm:
Since I updated both I am not sure which update introduced this, but since you mentioned ESP32 intellisense I thought I'd try here first.
  Smiley

So, on my laptop I only updated Visual Micro and left Visual Studio at 15.9.2. Sure enough, the red lines appeared, so I am afraid it has to do with the latest VM update. 

Luckily it is no serious issue (just annoying Wink) but still thought you wanted to know.

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP32 Intellisense
Reply #6 - Dec 6th, 2018 at 9:57pm
Print Post  
I will look thanks
  
Back to top
WWW  
IP Logged
 
cvalentin
Newbies
*
Offline


Posts: 1
Joined: Dec 7th, 2018
Re: ESP32 Intellisense
Reply #7 - Dec 7th, 2018 at 11:52pm
Print Post  
I have the same issue after updating to the newest version. Visual Studio now also underlines keywords like "for" or "this". 
The strange thing is, that not all "for" and "this" keywords are underlined, only some of them.

I have the verbose build file attached.

@VisualMicro: Until this is fixed, please do you have a download link of previous versions of VisualMicro? 

[Edit]
I found all download links in the Release notes section of the forum. I had to downgrade to version 1810.7.1
Now Visual Studio does no longer go crazy and underlines most of the code red, so my issue is fixed.
It looks like the next version after 1810.7.1 introduced the problem.
« Last Edit: Dec 8th, 2018 at 12:18am by cvalentin »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP32 Intellisense
Reply #8 - Feb 8th, 2019 at 11:10pm
Print Post  
Sorry for the delay. The September 2018 change to intellisense paths  for esp32that resulted from this post has been reverted. This should revert the error list back to the september system which should work well for the current project files or open files without needing to limit the intellisense error reporting to "Build Only"

The release to the gallery has not been made yet but the version is available here: Pre-Release 2902.8 forum thread
note: intellisense will not be perfect until microsoft release their work in progress gcc compatibility. However it has been significantly worse for esp32 since September

« Last Edit: Feb 8th, 2019 at 11:12pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint