fdefelici / vs-funreal

Visual Studio extension to smooth the workflow of Unreal Engine C++ developers
MIT License
27 stars 7 forks source link

Properly find natvis file for UE5.3 #21

Closed AWildErin closed 10 months ago

AWildErin commented 10 months ago

For some reason, they added another file that breaks the current logic, so I changed it to use a for loop. I don't have the ability to test on previous versions of Unreal, but it should work fine there too.

I'm not too sure about it, there may be some perf impact since we are then looping through stuff and doing string checks but I think that should be okay? Feel free to suggest any changes!

fdefelici commented 10 months ago

Hi @AWildErin, thanks for point this out. I'm going to investigate this issue.

fdefelici commented 10 months ago

perfomance won't be an issue. Iterated collections are very small in terms of elements.

Refactored code + apply some code formatting

Tested on UE v5.3.1 Regression Tested on UE v5.2.1, v5.0.3, v4.27.2

close #22