With the way PLATFORM_XSX, PLATFORM_PS5 etc. are defined, it seems intellisense doesn't know about them, because the .vcxproj only references the Win64 version of Definitions.h, and they are defined to 1 in the platform-specific Definitions.h. They are not added to the list of defined macros.


This effectively breaks intellisense on platform-specific code.

Steps to Reproduce

Note that intellisense breaks on a lot of current platform-specific code due to not picking these defines up.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-162670 in the post.

Login to Vote

ComponentUE - Foundation - Cpp Tools - UnrealBuildTool
Affects Versions5.0
Target Fix5.2
CreatedAug 31, 2022
UpdatedSep 7, 2022