Original Post
Hi, there was a discussion about this a little while ago. And I am curious about the current state. Has anybody figured out how to enable it?
Quote:
Original post by Asesh
As far as I know Microsoft has permanently removed syntax highlighting in HLSL. If I remember it was removed starting either August or October 2006 SDK.
Quote:
Original post by GambitSnax
Hmmm that sounds to me like you are just duplicated the syntax highlighting for c++ and using it with any hlsl. And if that is the case there is an easier way to do it -
In visual studio 2005
- go to Tools -> Options
- choose Text Editor -> File Extensions
- you can then identify any unknown file extensions that you are using (eg. .fx or .hlsl) and pick which syntax highlighting system you want them to use.
At the moment my .fx ones are mimicking the c++ syntax highlighting, which isn't perfect, but its something at least. If anyone does figure out the proper hlsl highlighting please let us know :)
Cheers.
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more