# \[UE 5.1\] VisualStudio 2022 Intellisense for engine files not working in UE5

**URL:** <https://forums.unrealengine.com/t/ue-5-1-visualstudio-2022-intellisense-for-engine-files-not-working-in-ue5/551166>\
**Category:** C++\
**Tags:** unreal-engine, UE5-0, question\
**Created:** [May 7, 2022, 10:06am UTC](https://forums.unrealengine.com/t/ue-5-1-visualstudio-2022-intellisense-for-engine-files-not-working-in-ue5/551166 "2022-05-07T10:06:42Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [June 27, 2022, 7:34pm UTC](https://forums.unrealengine.com/t/ue-5-1-visualstudio-2022-intellisense-for-engine-files-not-working-in-ue5/551166/9 "2022-06-27T19:34:04Z")

</div>

hi @adiswa123,  
Since looking at the new updates for VS 2022 I have found the section for Tools → Options → Preview Features

 ![Screenshot (21)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/7/8/6787835d626823dec94b8efffecc0b0ea2bdfed7.png)

There is the function  
Enable Indexing for faster find experience

 ![Screenshot (22)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/b/0/9b04f6e50810ed8a6eab93f50573947648d78f68.png)

Exit VS2022 and restart open your project you may need to rescan

Update I have tried with my source code version of UE5 using VS2022, NOT THE BINARY AS LOADED BY THE EPIC LAUNCHER, which is BUILT in VS2019, not vs2022  
The BINARY is not going the generate Intellisense because it does not run  
GenerateProjectFiles.bat, which generates the Intellisense paths and as the post above suggests this somehow has to be called and VS2019 cannot call VS2022 dlls.

Therefore I can go no further as I don’t use UE4 or UE5 BINARIES

 ![Screenshot (215)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/b/c/2bc7b18bffffbf6cf07312802286126cfca1008a.png)

In this picture above I added include “Character.h” into Actor.h and it works, but this in the source code build

Seeing as you can work in C++ why don’t you carry out the instructions to build a source copy here  
[Luoshuang’s GPULightmass Build and run on VS2022](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2248)

---

_[View the full topic](https://forums.unrealengine.com/t/ue-5-1-visualstudio-2022-intellisense-for-engine-files-not-working-in-ue5/551166)._
