How to Resolve the Issue of Numerous Error Detections When Using Rider to Develop Godot?

Godot Version

godot-4.3-stable

Question

I used the command

scons platform=windows vsproj=yes dev_build=yes 

to generate the solution and .vcxproj files. However, when I open the solution in Rider and use Rider to check for errors, it detects numerous issues. Is this because of compatibility issues between scons and .vcxproj? I know the code itself is fine, but this makes me uncomfortable and affects my coding experience. If I use scons compiledb=yes to generate a database file and open it in CLion, can I avoid these issues? I’m more accustomed to using Rider, so is there a way to solve these problems?

I use CLion, which helps me avoid these issues.