tgjones / HlslTools

A Visual Studio extension that provides enhanced support for editing High Level Shading Language (HLSL) files
http://timjones.io/blog/archive/2016/04/25/hlsl-tools-for-visual-studio-v1.0-released
Other
569 stars 97 forks source link

Can I turn off the preprocessor grey out #248

Closed hackershi closed 1 year ago

BenSimsTantalus commented 1 year ago

I'd also like this option. It makes editing Unreal shaders a pain without adding lots of custom defines to a json file.

tgjones commented 1 year ago

Implementing this would require quite large changes to the parser and syntax highlighting code. At the moment the greyed out code simply isn't parsed at all, which is why it isn't syntax-highlighted.