Open xoyojank opened 4 years ago
Please could you try disabling all auto-formatting for HLSL - as in the attached screenshot - and see if it fixes the performance problem?
Hi, Tim! I'm also getting rough typing performance from this plugin in VS 2022 in Unreal Engine 5 projects. Often just adding a newline to a shader will cause VS to pop up this box, followed by the warning toast at the top that the HLSL Tools plugin is causing slow typing performance.
I have disabled formatting when typing/paste, Intellisense, and error reporting, but the issue doesn't go away. It's a shame, because I do really like the plugin, but the typing perf is going to be the reason I have to uninstall it.
Let me know if there's any other data I can provide to help you reproduce and fix the issue! Would love to get a new drop that fixes this.
-Jamie
Agreed, default shader editing in Unreal Engine 5 usf/ush files is slow and can make typing difficult. For example, holding space down has a noticeable delay between auto-repeating spaces.
Turning off "Auto list members" in the HLSL > General settings improves the typing speed significantly, though there are still occasional delays that only go away when the plugin is disabled.
VS2017 Professional, Edit UnrealEngine usf files