Is it possible to develop shaders without the Material editor?

Can I code directly in HLSL, for example bringing Unity shaders over with a few modifications? If so, how?