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
 [Fixed] Cannot add support for new file extensions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

louisdecarufel
New Member

Canada
3 Posts

Posted - Sep 07 2021 :  12:17:11 PM  Show Profile  Reply with Quote
I'm using VisualAssist build 2393 on Visual Studio 2019 (16.3.9).
I'd like to add support for custom extensions we use for HLSL shader files: ".mshader" and ".mshaders".

I followed the instructions in this page: https://docs.wholetomato.com/default.asp?W353

I exited VisualStudio, and modified the registry variables:








However, upon reloading Visual Studio, I still don't get color highlighting in .mshader files.

If I rename a shader file to ".h" or ".cpp" I do get highlighting, so it's not a problem with the file contents.

Is there anything else I need to do to enable support for those extensions?


Louis

Edited by - louisdecarufel on Sep 09 2021 2:47:16 PM

louisdecarufel
New Member

Canada
3 Posts

Posted - Sep 09 2021 :  10:17:22 AM  Show Profile  Reply with Quote
Does anyone from Whole Tomato have any idea why I can't get this feature to work?

Edited by - louisdecarufel on Sep 09 2021 10:48:07 AM
Go to Top of Page

ChrisG
Whole Tomato Software

USA
299 Posts

Posted - Sep 09 2021 :  12:36:29 PM  Show Profile  Reply with Quote
Sorry for the delay.

To get VA to treat the new extensions as a C++ file and provide highlighting, please follow the instructions here. There are a few extra steps that the other documentation page does not list.
https://docs.wholetomato.com/default.asp?W328

Go to Top of Page

louisdecarufel
New Member

Canada
3 Posts

Posted - Sep 09 2021 :  2:45:38 PM  Show Profile  Reply with Quote
That worked beautifully!
Thank you very much!
Go to Top of Page

ChrisG
Whole Tomato Software

USA
299 Posts

Posted - Sep 09 2021 :  2:53:51 PM  Show Profile  Reply with Quote
Happy to help!
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