I was able to solve my problem below by restarting VS2019, this may be a bug so I’m reporting it. After restarting the Clang autodetect bar popped up and gave me the option to cache the required gcc directories.
Problem
I have a Linux project using MSBuild in VS2019. Recently I upgraded to use the latest 5.5 preview 4 beta. In the project I changed the remote machine and now all of my intellisense directories are gone, I am using Clang. It can find my custom directories but it cannot find the C++ (gcc) directories: i.e. ‘#include <vector>’ shows an error. Within the MSBuild settings page I clicked on ‘Rebuild MSBuild and intellisense files for this toolchain’ and VisualGDB started scanning for GCC settings but my intellisense never came back.
I really do not want to manually enter GCC include paths since in the past VisualGDB found these automatically. In the past I’ve always used VS intellisense, this is the first time using Clang.