Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 [Fixed] Cannot add support for new file extensions

You must be registered to post a reply.
Click here to register.

Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji

Forum code is on.
Html is off.

Check to subscribe to this topic.

T O P I C    R E V I E W
louisdecarufel Posted - Sep 07 2021 : 12:17:11 PM
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?

4   L A T E S T    R E P L I E S    (Newest First)
ChrisG Posted - Sep 09 2021 : 2:53:51 PM
Happy to help!
louisdecarufel Posted - Sep 09 2021 : 2:45:38 PM
That worked beautifully!
Thank you very much!
ChrisG Posted - Sep 09 2021 : 12:36:29 PM
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.

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

© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000