# Visual Studio 2022: Add include path for IntelliSense 

**URL:** <https://forums.unrealengine.com/t/visual-studio-2022-add-include-path-for-intellisense/2487461>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [May 2, 2025, 7:47pm UTC](https://forums.unrealengine.com/t/visual-studio-2022-add-include-path-for-intellisense/2487461 "2025-05-02T19:47:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LemontreeSoftworks](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lemontreesoftworks/32/1097595_2.png) [@LemontreeSoftworks](https://forums.unrealengine.com/u/LemontreeSoftworks)\
**Post date:** [May 2, 2025, 7:47pm UTC](https://forums.unrealengine.com/t/visual-studio-2022-add-include-path-for-intellisense/2487461/1 "2025-05-02T19:47:39Z")

</div>

Hello,

I use an external C++ library in my project, so far it works great and the build also runs normally, only annoying is that IntelliSense does not recognize the header files, so I always have the error squiggles in my code.  
The “normal” project settings are not available in an Unreal project, how can I give IntelliSense a hint where the include files are located?

---

<div class="post-metadata">

**Author:** ![LemontreeSoftworks](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lemontreesoftworks/32/1097595_2.png) [@LemontreeSoftworks](https://forums.unrealengine.com/u/LemontreeSoftworks)\
**Post date:** [August 25, 2025, 2:34pm UTC](https://forums.unrealengine.com/t/visual-studio-2022-add-include-path-for-intellisense/2487461/2 "2025-08-25T14:34:18Z")

</div>

The Header files are in the “ThirdParty” folder, wich IntelleSense does not search and add the folder to “intellisense.shared\_include\_paths.include” in ProjectSettings.json has no effect.

So i use this (ugly) workaround:

```auto
#ifdef __INTELLISENSE__
#include "../../ThirdParty/MyLib/Include/my_header.h"
#else
#include "my_header.h"

```
