Visual Studio editor saying 'Macro in Skipped Region'

A Workaround

Bit of a hacky workaround, but try this for now:

  1. Add a cpp.hint to your root folder

  2. Add the missing defines in here, for example, mine is:

    #define UCLASS()

    #define GENERATED_BODY()

    #define UFUNCTION()

  3. Restart visual studio and give it a few seconds. This should get rid of your green squiggles.

  4. List item


Microsoft’s Hint File Docs