Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Enable support for shader files no use
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

slime
New Member

5 Posts

Posted - Apr 16 2023 :  05:35:10 AM  Show Profile  Reply with Quote
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  Show Profile  Reply with Quote
btw,i am using vs2022
Go to Top of Page

slime
New Member

5 Posts

Posted - Apr 16 2023 :  05:45:17 AM  Show Profile  Reply with Quote
i found the reason ,it confict with hlsl tools for visiual studio ext
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Apr 17 2023 :  10:06:30 AM  Show Profile  Reply with Quote
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
Go to Top of Page

slime
New Member

5 Posts

Posted - Apr 20 2023 :  10:44:27 PM  Show Profile  Reply with Quote
"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
Go to Top of Page

slime
New Member

5 Posts

Posted - Apr 20 2023 :  10:52:42 PM  Show Profile  Reply with Quote
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
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Apr 21 2023 :  06:46:52 AM  Show Profile  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000