Using bundled Arduino Cli always give this red error "#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit" while it can manage to build. This happens to a simple file such as "Arduino.h".
If Arduino IDE is used, there is no problem/error.