Hello everyone! I still have a problem with red lines. (Well maybe I am not so smart to fix it by hand?).
I have installed Intellisense Fix correctly, but the red lines issue still exists and it got worse. Quick Fix is not able for this errors (message you can see on the screenshot).
I would be grateful for your help! UE (4.27), VSC Version: 1.61.1 (Universal) MacBook Pro 2020 (Intel processor, Big Sur).
Message: “cannot open source file “stdlib.h” (dependency of “/Users/learning/BullCowGame-starter-kit 4.27/Intermediate/Build/Mac/x86_64/BullCowGameEditor/Development/Engine/SharedPCH.Engine.h”)C/C++(1696)”
Well, everything works fine, even compiling.
I noticed that first 2-3 minutes after open VSC everything works as it should. But then, this issue appears.
C++ hasn’t any info in output. But GitLens shows:
[2021-10-23 19:32:05:926] [/Users/ilyaaliakseyeu/learning/BullCowGame-starter-kit 4.27] Git Command failed: /usr/bin/git -c core.quotepath=false -c color.ui=false rev-parse --show-toplevel • not a git repository (or any of the parent directories): .git • 31 ms
[2021-10-23 19:32:05:949] [/Users/Shared/Epic Games/UE_4.27] Git Command failed: /usr/bin/git -c core.quotepath=false -c color.ui=false rev-parse --show-toplevel • not a git repository (or any of the parent directories): .git • 18 ms
[2021-10-23 19:32:06:026] [/Users/ilyaaliakseyeu/learning/BullCowGame-starter-kit 4.27/Source/BullCowGame] Git Command failed: /usr/bin/git -c core.quotepath=false -c color.ui=false rev-parse --show-toplevel • not a git repository (or any of the parent directories): .git • 13 ms
[2021-10-23 19:33:04:053] [/Users/ilyaaliakseyeu/learning/BullCowGame-starter-kit 4.27/Source/BullCowGame] Git Command failed: /usr/bin/git -c core.quotepath=false -c color.ui=false rev-parse --show-toplevel • not a git repository (or any of the parent directories): .git • 31 ms
Do you think if I re-install VSC with FIX will help me?)
Okay, I just re-installed everything, disable this “Intellisense Fix” (and other extensions). Left only C# and Terminal and everything works without errors. Unfortunately "F Strings, “Input” and "HiddenWord"not supporting colors, but at least it works after compilation.
Unfortunately I don’t see any files with this names and formats. I found “export-compile-commands.lua” and readme file for this. But my knowledge is not enough to understand how to proceed this script to generate this .JSON
Yep! I have installed it because it was in the lecture #8.
course “Unreal Engine C++ Developer: Learn C++ and Make Video Games”.
Unfortunately few days ago I had a problems with laptop, so I’ve done full reinstallation. Now I don’t have any external extensions, only C/C++ by Microsoft.
Yes, the same problem. The dot operator (hints) doesn’t work. The same red lines appear, but if I close the tab with the .cpp file and reopen it - then the red lines disappear for 1 minute (30 seconds). then appears again.
When everything is red it shows me #include error and cannot open source file “stdlib.h”
Maybe I should somehow show the way to the project again?