Author |
Topic |
|
slime
New Member
5 Posts |
Posted - Apr 16 2023 : 05:35:10 AM
|
hi version 22.6, after Enable support for shader files,nothing happened,unreal usf and ush file still no color highlighting. any suggestion? |
|
slime
New Member
5 Posts |
Posted - Apr 16 2023 : 05:36:51 AM
|
btw,i am using vs2022 |
|
|
slime
New Member
5 Posts |
Posted - Apr 16 2023 : 05:45:17 AM
|
i found the reason ,it confict with hlsl tools for visiual studio ext |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Apr 17 2023 : 10:06:30 AM
|
Using VS2022, VA 2476 and HLSL Tools 1.1.304 I am getting syntax highlighting in USH and USF files from VA. This is with the default settings in HLSL Tools, and the only change I have made to the default VA settings is to enable shader support.
When opening the IDE with a shader file as the current file in the solution I do need to change the current file at least once before VA starts to apply its syntax highlighting, but this is a known bug regardless of HLSL Tools. |
zen is the art of being at one with the two'ness |
|
|
slime
New Member
5 Posts |
Posted - Apr 20 2023 : 10:44:27 PM
|
"When opening the IDE with a shader file as the current file in the solution I do need to change the current file at least once before VA starts to apply its syntax highlighting, but this is a known bug regardless of HLSL Tools." i have the same problem, but change the current file doesn't seems work for me,the shader file still no syntax highlighting.but function jump to declare works |
|
|
slime
New Member
5 Posts |
Posted - Apr 20 2023 : 10:52:42 PM
|
i found if i open VS2022 first, then open the project, shader syntax highlighting works fine if i directly open the project .sln file, no shader syntax highlighting |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Apr 21 2023 : 06:46:52 AM
|
Ah, I don't normally double click the SLN file to load the IDE, so I hadn't realised this was happening. Thank you for explaining the trigger. We believe we have a fix for this internally, which should be in the next release:
case=148477 |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|