Intellisense stopped working

Hi all,

today my Intellisense stopped working in VS2015 on UE 4.13. I’ve written some problematic code and my project was crashing on startup. As my VS was still opened I commented it out and build the solution through VS. My projected started up but the Intellisense was not working. I closed and reopened VS but the Intellisense was still not working.

I tried closing VS and unreal, removed all the files in Binaries folder then used “Generated VS project files”.
After I launched my project again and opened a CPP class in the blue bar at the bottom of VS was showing:

  1. Scanning for additional files… (number of number)
  2. Parsing included files…
  3. Scanning #includes for additional files…

but at the end Intellisense was still not working.

At some point of testing I added some code and got error in that blue bar - “Intellisense ‘No members available’”.
Everything in the CPP file “is undefined”

I tried re-logging into Microsoft account as Intellisense is not available for anonymous users… But it didn’t work.

I checked configurations related with VS in Setting Up Visual Studio for Unreal Engine | Unreal Engine Documentation but nothing helped.

After that I updated VS2015 and restarted my computer but Intellisense is still not working.

Tried creating new project, downloading older UE version 4.11.1 and 4.12.5, setting #include “EngineMinimal.h” to “Engine.h” and I’m out of ideas. As I didn’t manage to find solution in google I ended up looking for assistance in here.

Any help would be really appreciated! Thanks in advance!

Regards,
Georgi R.

Intellisense is a ■■■■■ at the best of times. When in Visual Studio, the best way tor fix this, or at least from my experience is to simply close visual studios and re-open it. This usually fixes my issue

Yep I tried that many times but with no luck… I even tried building, exiting and re-entering Intellisense doesn't work for UE4 + Visual Studio 2013 - Pipeline & Plugins - Unreal Engine Forums

I manage to fix my problem! This guy is a god: phoboz

I did this:

  • Build solution (Not Mandatory)

Close VS

In the editor File->Refresh VS Project

File->Open VS

Give it 5-10 seconds to rescan files

Source:

That’s good. But knowing intelliesense, this won’t be the fisttimw that you’ll have to do this

Thanks, google led me here and this worked for me as well.

In VS

go to Project>>“project_name” Properties>>NMake on the left sidebar>> put /Yu in the Additional Options under IntelliSense

Worked for in VS2017. Google led me here as well. Thanks!

Same here, worked for me in VS2017: intellisense had stopped working on one single cpp file. Now it works again. Thank you!

One more for the pile. Just got here and this fixed my problem with VS2017 and UE 4.19.2.

Also, by “give it 5-10 seconds,” I think you meant 1-2 minutes. :slight_smile:

in the editor means ue4 engine

Hey,
for people who is having problems with IntelliSense, my problem might help some others.
My IntelliSense was working on x86 but not x64

I tried everything to solve it but what had really happened was that I had overwritten the file “C:\Users\username\AppData\Local\Microsoft\MSBuild\v4.0\ Microsoft.Cpp.x64.user.props
with the content from a colleague to build other project.

I added these lines which are the ones which screwed up my x64 Intellisense…

<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>
<\AdditionalIncludeDirectories>
<\ClCompile>
<\ItemDefinitionGroup>

So all I had to do was to REMOVE THEM

This works great. Build solution is unnecessary unless there is a reason for it.

Works in VS17 thank you.

A faster workaround that doesn’t require opening the editor is to go to the project folder, right click on the .uproject file and “Generate Visual Studio Project Files”. Doesn’t require to build the solution either.

I had no idea why VS could not open so many precompiled standard headers and thus intellisense not working. Thanks for this workaround.