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
553 stars 95 forks source link

Can I turn off the preprocessor grey out #248

Closed hackershi closed 11 months 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 11 months 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.