Open yggie opened 2 years ago
That regex is trying to find the directory where all the *.generated.h files are in any response file it's given.
This directory is created when you Build with the 'Editor' suffix configuration. Build with ProjectNameEditor and 'Development' config and see if the *.generated.h files get created.
Do any response files contain this directory? If not Generate Project Files and check again.
Also on this regex I do skip the last ProjectName folder that the *.generated.h files are actually in. I just assume that if they have the partial path, then they have the correct full path.
Here's what the *.generated.h directory structure looks like on Windows for a UE5 project called CPPTest.
Hi @boocs, sorry for the late response, I got swept away by other things. This is the path I get for a Mac M1 for my project:
The issue is that the platform + arch is organised as two subfolders (in this case Mac/x86_64/
) whereas on Windows it is just Win64/
. This change will update the regex to cover this case as well
I released 3.1.4.
Apologies, I forgot you had fixed it and didn't merge it like your other fix.
Thanks for the report/help!
Closes https://github.com/boocs/ue4-intellisense-fixes/issues/17
Fixes and refactors the regex used to detect the editor files
Build
and theUnrealEditor
folders. Previously it only supported 1|
in the regex, this would have supported formats likeBuild|Mac|UnrealEditor
which is likely unintentional