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
568 stars 98 forks source link

Add support for shaderlab in Unity #110

Closed Coresi7 closed 7 years ago

Coresi7 commented 7 years ago

I don't know if this would work but i want HlslTools to support shaderlab in Unity If this is in vain, please add extension ".shader" support, thanks!

Coresi7 commented 7 years ago

@tgjones Hello bro~? Any ideas about this extension update?

tgjones commented 7 years ago

First, thank you for taking the time to submit this PR! But I'm not going to merge it, because it would result in quite a broken experience for .shader editing. You'd get a lot of false positive syntax and errors semantic errors, and IntelliSense is unlikely to work well.

I do have Unity ShaderLab support in the pipeline. In the meantime, I recommend using VS Tools for Unity, because that at least has syntax highlighting and some limited IntelliSense for .shader files.