CMake and Intellisense for Windows VSCode

Hi Eyal, thanks for the quick response!

I’ll give it a vote - it seems to be a common issue!

I messed about with some of my intellisense settings and found that clangd specifically was causing issues. The VSCode default seems to handle it fine.

set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE INTERNAL "")

I’ll add that to my CMakeLists. What exactly does it do?

Re: IDE, I prefer VSCode since it’s much more lightweight, and am trying to avoid directly working in Visual Studio (which does handle it all fine). CLion would be ideal to be honest, but I can’t afford it at the moment.

P.s. I found your resources on CMake on TAP very useful - keep up the good work!