Intellisense can't find includes for UE4 project
I'm quite new to UE4 and I'm trying to look through the code to figure out how to get multiple monitors working (I know - deep end) but I find it nearly impossible to do it without intellisense to allow me to go to definitions etc.
Because UE4 uses CMake (or something like that), it doesn't use the standard includes mechanism VS expects, and because all the paths for includes are not relative to the project or solution intellisense can't find any header files to build its database. I tried including some additional folders, which solved a few of the lookups, but there are so many folders i can't put them all in the included folders list (and that seems like bad practice anyway).
I'm sure there must be some easy/obvious thing i'm completely unaware of as surely all the UE devs in the world don't have to cope without intellisense for the massive codebase all the time.
If someone could explain to me how the CMake build mechanism works with VS, that would really help. I looked through the project properties, but the NMake page doesn't really help me.
asked Jun 17 '15 at 02:24 PM in C++ Programming
To fix the issue, please disable IntelliSense in Visual Studio. For this, please go to Tools - Text Editor - C/C++ - Advanced - IntelliSense and use the settings as shown below:
If you like to learn more about setting up Visual Studio for Unreal Engine 4 (including additional extensions), please go here:
Hope this helped!
Have a great day!
answered Jun 17 '15 at 03:20 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here