Thx for answer. Just in case I tried to downgrade my Intellisense extension, didn’t help (4 problems visible in previous screen were connected to lack of #ifndef directives in written code).
But in the meantime I dig this problem a bit and found some clues, which maybe more close shows, what’s going on: when I open .vscode/c_cpp_properties.json in my project (yes, I tried to create new project, result is the same), there is a line: “intelliSenseMode”: “clang-x64”,. And according to help, “clang-x64” is for MAC OS, I’m using windows and here should be msvc-x64! I tried just change this field, but after restart VSC, it was restored to clang again.
Next found clue: Ctrl + Shift + P -> C/C++: Edit configurations (UI):
At first: “patch to compiler” - it is red in my case, with message “path to compiler not found”. It is strange, because I’m able to compile my code, result works well. Output during compiling looks same as Arduino IDE, which I have installed on my PC (written code is for ESP8266, IDE is working with this CPU), so I believe, this compiler is used, but how?
And second: Intellisense mode: here I can set the same msvc-x64/clang-x64, etc. BUT when I’m trying to change this value to proper one, answer is: red box with info: choosen Intellisense mode is incompatible with compiler path.