'visual studio code intellisense not working nodemcu ESP8266
The intellisense shows errors on code that is not faulty and doesn't show errors where it should.
Im using VisualStudio code with the Arduino extention and the Arduinio IDE. I installed the ESP8266 boards which includes the nodemcu ESP8266 board.
The code that looks faulty compiles and runs on the Nodemcu CH340G.
I already tried (ctrl+shift+p) Arduino:Rebuild IntelliSense Configuration.
c_cpp_properties.json
"intelliSenseMode": "gcc-x64",
"includePath": [
"C:\\Users\\xxxx\\AppData\\Local\\arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\tools\\sdk\\include",
"C:\\Users\\xxxx\\AppData\\Local\\arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\tools\\sdk\\lwip2\\include",
"c:\\git\\led-strip\\LedStripWifi\\build\\core",
"C:\\Users\\xxxx\\AppData\\Local\\arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\cores\\esp8266",
"C:\\Users\\xxxx\\AppData\\Local\\arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\variants\\nodemcu",
"c:\\users\\xxxx\\appdata\\local\\arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed\\xtensa-lx106-elf\\include\\c++\\10.3.0",
"c:\\users\\xxxx\\appdata\\local\\arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed\\xtensa-lx106-elf\\include\\c++\\10.3.0\\xtensa-lx106-elf",
"c:\\users\\xxxx\\appdata\\local\\arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed\\xtensa-lx106-elf\\include\\c++\\10.3.0\\backward",
"c:\\users\\xxxx\\appdata\\local\\arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed\\lib\\gcc\\xtensa-lx106-elf\\10.3.0\\include",
"c:\\users\\xxxx\\appdata\\local\\arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed\\lib\\gcc\\xtensa-lx106-elf\\10.3.0\\include-fixed",
"c:\\users\\xxxx\\appdata\\local\\arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed\\xtensa-lx106-elf\\include"
],
"forcedInclude": [
"C:\\Users\\xxxx\\AppData\\Local\\arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\cores\\esp8266\\Arduino.h"
],
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
