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
 Visual Studio 2015 HLSL support
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Hop
Junior Member

12 Posts

Posted - Jul 19 2016 :  11:28:24 AM  Show Profile  Reply with Quote
What is the current state of play wrt using Visual Assist with .hlsl files in VS2015?

In the past I have added .hlsl files to VS->Options->Text Editor->File Extension->Microsoft Visual C++ however now that VS has partial in-built support for HLSL I'm a bit wary to do this.



accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 19 2016 :  2:07:51 PM  Show Profile  Reply with Quote
We aren't focusing on to improve HLSL support. I would try the native experience first to see if it's enough.
Go to Top of Page

Hop
Junior Member

12 Posts

Posted - Jul 20 2016 :  03:59:12 AM  Show Profile  Reply with Quote
quote:
Originally posted by accord

We aren't focusing on to improve HLSL support. I would try the native experience first to see if it's enough.



By "native experience" do you mean just using straight Visual Studio text editing for HLSL? It's basically just a little syntax highlighting. In the past I've fooled Visual Studio into treating .hlsl files as .cpp files and it's been quite successful providing refactoring, navigation, parenthesis highlighting etc. Makes the world of difference I find. I had to make a few small changes like adding semicolons at the end of constant buffer declarations to please the VA parser.

HLSL is so similar to C++ and the two are often used together in the same IDE it would be great if you could find a little time to offer a little official support.

Edited by - Hop on Jul 20 2016 04:00:35 AM
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 20 2016 :  7:22:27 PM  Show Profile  Reply with Quote
quote:
By "native experience" do you mean just using straight Visual Studio text editing for HLSL?


Yes. I don't know how much VS2015 improved with HLSL, but if it's not much, you might still want to use VA for that.

You are right about official support would be cool, but now, we focus mainly on C++ (and secondly on C#) because we want to have great support for C++ instead of having weak multiple language support.

You can help the situation a little bit by using VA_Stdafx.h to add new types:
http://support.wholetomato.com/default.asp?W302

You can put defines (macros), classes, typedefs here, and they will be handled as they would be part of the solution.
If there is something that VA doesn't understand, you can post here and there might be a workaround using the above method.
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