JetBrains / resharper-unity

Unity support for both ReSharper and Rider
Apache License 2.0
1.21k stars 131 forks source link

Add support for "Package" include path for shaders #2409

Closed guoxx closed 12 months ago

guoxx commented 1 year ago

Resharper HLSL features don't work with shader code that included by "Package/xxx"

image

van800 commented 12 months ago

Doesn't reproduce for me. image

If it is still actual for you with Rider 2023.2 EAP8, could you please report it with Help->Report a Bug, agree to attach logs. Please also attach some of your files or a simple solution, which demonstrates the problem. Thanks!

guoxx commented 12 months ago

I'm using ReSharper with visual studio. From what I know, Rider has better support for HLSL including Packages search path recognition and user macro definition, but we don't have it in ReSharper.

van800 commented 12 months ago

Ah, got it. Make sure to install ReSharper C++. I will also ask around about your case.

van800 commented 12 months ago

Very likely related to RIDER-91999

citizenmatt commented 11 months ago

Note that this is an issue that has been fixed as part of the 2023.2 release, and the ReSharper Unity plugin will be released when Rider is released.