# Visual Studio 2022 #Include Intellisense Not Working Correctly, Requires \<\> rather than ""

**URL:** <https://forums.unrealengine.com/t/visual-studio-2022-include-intellisense-not-working-correctly-requires-rather-than/1382499>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [November 11, 2023, 8:20pm UTC](https://forums.unrealengine.com/t/visual-studio-2022-include-intellisense-not-working-correctly-requires-rather-than/1382499 "2023-11-11T20:20:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![KromTheImpaler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KromTheImpaler](https://forums.unrealengine.com/u/KromTheImpaler)\
**Post date:** [November 11, 2023, 8:20pm UTC](https://forums.unrealengine.com/t/visual-studio-2022-include-intellisense-not-working-correctly-requires-rather-than/1382499/1 "2023-11-11T20:20:01Z")

</div>

Hi all, hoping there’s someone well versed in Visual Studio who can help. The gist is, in my C++ projects in Visual Studio, when I go to use #include and I type a " afterwards, intellisense does not pop up with any files/directories from my project directory. It is also missing engine headers like DrawDebugShapes.h, Actor.h, etc. However, if I type \< then suddenly those files are showing again. To make matters more bizarre, my laptop which is nearly identical to my desktop (Windows 11, VS 2022, UE 5.3.2, all updated to the latest), works per usual. Interestingly, even if I use the “” format and intellisense puts a red squiggle under the include, it builds just fine

This sent me on a hunt to try to fix it, but I’ve hit a roadblock.

What I do notice when I look at the VC++Directories (right clicking on the project part of the solution and selecting properties) is the following. On my desktop where things aren’t working I see the following lines that are not in my include directories on the laptop:

```auto
..\Build\Win64\UnrealEditor\Inc\VSTest\UHT;
..\Build\Win64\UnrealEditor\Inc\VSTest\VNI;
..\..\Source;
..\..\Source\VSTest\Private;
..\..\Source\VSTest\Public;

```

My laptop does not have these in the include path. I think this is why the Angle Brackets will find my directory.

The laptop has additional include directories that are not in the desktop:

```auto
C:\Dev\UE_5.3\Engine\Shaders\Shared;
C:\Dev\UE_5.3\Engine\Source;
C:\Dev\UE_5.3\Engine\Source\Developer\AnimationDataController\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\AssetTools\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\AutomationController\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\CollectionManager\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\DesktopPlatform\Internal;
C:\Dev\UE_5.3\Engine\Source\Developer\DesktopPlatform\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\DeveloperToolSettings\Classes;
C:\Dev\UE_5.3\Engine\Source\Developer\DeveloperToolSettings\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\DirectoryWatcher\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\FunctionalTesting\Classes;
C:\Dev\UE_5.3\Engine\Source\Developer\FunctionalTesting\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\Horde\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\Localization\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\MaterialUtilities\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\Merge\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\MeshBuilder\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\MeshMergeUtilities\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\MeshReductionInterface\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\MeshUtilities\Public;
C:\Dev\UE_5.3\Engine\Source\Developer\PhysicsUtilities\Public;

```

Here’s what I’ve done so far to troubleshoot:

1. Deleted all my intermediates/saved/Binaries/DerivedDataCache/.vsconfig/.sln file/.vs directory _numerous_ times and regenerated visual studio files after every change
2. reinstalled UE5.3.2
3. reinstalled Visual Studio 2022
4. tried UE4.27.2 (same issue, works fine on the laptop, broken on the desktop)
5. installed the visual studio integration plugin from the UE marketplace
6. installed the visual studio integration from the VS Installer
7. installed the visual studio integration from the UE\_5.3/Engine/Extras/UnrealVS/VS2022/UnrealVS.vsix file
8. Tried deleting the include paths that were extra on my desktop and then adding the include paths that were missing (ensuring that the directories to the engine were all correct). This did not work, and the project would also not build saying it could not find the files

The include paths for NMAKE and the external directories are all the same, as are all the myriad of additional include directories in the internal include path.

I’m at a loss where to go next. It seems that somehow there’s a configuration either in unreal or visual studio 2022 that configures the include paths in a different way on my desktop than my laptop. This configuration flag or setting seems to persist despite full uninstall of both visual studio 2022 and unreal engine. Could it be a registry setting somewhere? Stored somewhere in my AppData directory that I cannot locate?

I see others have this issue as well, so I know it’s not just my computer. At least one post was also from the 4.x era. I do not wish to reinstall windows 11 just to try to solve this which would be the last thing I can think of to fix it.

> [@\[UE 5.1\] VisualStudio 2022 Intellisense for engine files not working in UE5](https://forums.unrealengine.com/t/ue-5-1-visualstudio-2022-intellisense-for-engine-files-not-working-in-ue5/551166/6):
>
> Bumping, anyone know a fix for this? I am using UE5 precompiled engine with the source files and debug symbol addons. In VS2019 it all worked fine but VS2022 can’t handle it: It seems random for which files work, Actor.h is b0rked for example but Character.h is fine. Would be great to find a fix for this as VS2022 has MUCH faster intellisense especially for classes like FVector (where VS2019 would take 30s to give me suggestions)

> [@Intellisense doesn't work properly](https://forums.unrealengine.com/t/intellisense-doesnt-work-properly/466668):
>
> Include autocomplete only contains headers from the game’s own project files. All UE macros complain. Building is still successful. What I’ve tried: Rebuilt the VS project files Disabled all extensions Done everything mentioned from the documentation: [Setting Up Visual Studio for Unreal Engine][1] Using UE 4.25 and VS 2019 I would like this fixed for myself as this would be very messy to work with, the red squiggles are whatever, it’s primarily auto completion which helps a lot when learn…

> [@\#include with quotes not work, with angle brackets yes, why ?](https://forums.unrealengine.com/t/include-with-quotes-not-work-with-angle-brackets-yes-why/475682):
>
> I’m try to learning watching some tutorials and in every place they use #include " … " even with #include “GameFramework/Actor.h” I could not get the autocomplete to work, it only work with #include why ? I’m using vs2019 while on the tutorials they use mostly vs code. If I write UE\_LOG then is not possible to have autocomplete help me withe the parameters value ?? I have to remember them all the time ?

> [@\#include with quotes does not work, with angle brackets works (visual studio 2022 intellisense)](https://forums.unrealengine.com/t/include-with-quotes-does-not-work-with-angle-brackets-works-visual-studio-2022-intellisense/1249809/2):
>
> i have same issue it’s make me crazy somebody help!

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [November 11, 2023, 8:50pm UTC](https://forums.unrealengine.com/t/visual-studio-2022-include-intellisense-not-working-correctly-requires-rather-than/1382499/2 "2023-11-11T20:50:20Z")

</div>

I’ve noticed that intelisense seems to work better if you have private and public directories in your source. Private for the cpp files and Public for headers. (project files ofc)

Also make sure that if you are accessing files beyond core and engine that the correct modules are included inside of your build file.

---

<div class="post-metadata">

**Author:** ![KromTheImpaler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KromTheImpaler](https://forums.unrealengine.com/u/KromTheImpaler)\
**Post date:** [November 12, 2023, 5:28am UTC](https://forums.unrealengine.com/t/visual-studio-2022-include-intellisense-not-working-correctly-requires-rather-than/1382499/4 "2023-11-12T05:28:01Z")

</div>

Hi there, thanks for the reply! This will happen regardless of the project/addons. The project above was a simple empty C++ test project, no modules or anything. The only class I added was indeed a public class with the button clicked called “Item” that inherited from Actor. All new projects have this issue. The VC++ Include Directories that are being built right from the start of the project are somehow different.

---

<div class="post-metadata">

**Author:** ![Ja20121](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ja20121](https://forums.unrealengine.com/u/Ja20121)\
**Post date:** [July 22, 2025, 12:43pm UTC](https://forums.unrealengine.com/t/visual-studio-2022-include-intellisense-not-working-correctly-requires-rather-than/1382499/6 "2025-07-22T12:43:30Z")

</div>

@KromTheImpaler Did you find solution to that problem?

---

<div class="post-metadata">

**Author:** ![Electronik\_Eel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/electronik_eel/32/1154929_2.png) [@Electronik\_Eel](https://forums.unrealengine.com/u/Electronik_Eel)\
**Post date:** [November 9, 2025, 3:57am UTC](https://forums.unrealengine.com/t/visual-studio-2022-include-intellisense-not-working-correctly-requires-rather-than/1382499/7 "2025-11-09T03:57:29Z")

</div>

Here’s something to try:

In VS options, under Unreal Engine\>General, make sure “Include all modules in targets” is TRUE. I mine, everything is TRUE except: “Enable Blueprint reference analysis for Unreal Engine classes“, “Enable Automatic Code Analysis with Unreal Header to for source files“, “Remember filters“, “Negative” Test Adapters, “Parallel workspace generation”.

Then close VS.

Go to your project folder, .VS\>[your project name] and delete the folder v[Version Number] for 2022 its v17.

Right click the [project name].uproject file in the root directory of your project and select Generate Visual Studio Project Files.

Load VS manually and then open recent projects to reopen your project.

Your tabs will be closed if you left them open, but all files are still there. Wait for Intellisense to finish - you can see the by the icon bottom left speech bubble - click to get details and progress bars.

Hopefully it will be OK now.

---

<div class="post-metadata">

**Author:** ![KromTheImpaler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KromTheImpaler](https://forums.unrealengine.com/u/KromTheImpaler)\
**Post date:** [September 1, 2026, 8:12am UTC](https://forums.unrealengine.com/t/visual-studio-2022-include-intellisense-not-working-correctly-requires-rather-than/1382499/8 "2026-09-01T08:12:49Z")

</div>

Unfortunately no. I have now tried with UE 5.8.2 and VS v18.9.2 and it still doesn’t work

---

<div class="post-metadata">

**Author:** ![KromTheImpaler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KromTheImpaler](https://forums.unrealengine.com/u/KromTheImpaler)\
**Post date:** [September 1, 2026, 8:20am UTC](https://forums.unrealengine.com/t/visual-studio-2022-include-intellisense-not-working-correctly-requires-rather-than/1382499/9 "2026-09-01T08:20:14Z")

</div>

Thank you for the reply! I know it’s a year late. I just updated to UE5.8.2 and VS 2026 (v18.9.2). The issue persists though. I tried following your steps. I checked all the boxes, deleted the (now v18) folder in the project, regenerated files, loaded it manually, waited for intellisense to finish (seemed to add a whole lot more things it was looking through!) and thennnn… nothing. “” only pops up what’s in the immediate directory and nothing else. Angle bracket \< opens everything. This is on my desktop (I never ended up reinstalling windows 11). Weirdly my laptop updated still works with just “” . It’s the darndest thing. It must be something in the registry or in a visual studio config directory that is doing this that for some reason is stuck on my desktop and not on my laptop. The only thing I might try is copying my laptop appdata directory to my desktop and see if that somehow cures this incurable disease if I have a minute to waste on this.

Rider on either laptop or desktop “just works” with quotes and not angle brackets.
