Don’t you just love IntelliSense… not working, that is! Tried to reproduce this on Linux, and I get a completely different error with the simple while(1)
program and configuration shown above. btw, IntelliSense is working just fine on the same system with some ESP8266 & ESP32 Arduino projects I’m working on right now w/ VSCode 1.42.1 & PIO 4.2.0.
I get #include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (/media/2TB_upper/Projects/PlatformIO/mbed/hello-world/src/main.cpp).
as the main error and when I mouse over the red squiggle under mbed.h
since I have debug logging turned on, I get a
textDocument/hover: 51
Quick info operation failed: FE: 'Compiler exited with error - No IL available'
error from the C++ IntelliSense engine…